Commit graph

208 commits

Author SHA1 Message Date
Noah Friedman
332ae8db49 Update copyright notice to reflect assignment to FSF and incorporation
into Emacs.

Attempt to load `timer'.

(eldoc-idle-delay): Make defconst.
(eldoc-minor-mode-string): Make defconst.
(eldoc-argument-case): Make defconst.

(eldoc-message-commands): Renamed from eldoc-mode-message-commands.
All callers changed.
Add `mouse-set-point' as a default candidate.

(eldoc-use-idle-timer-p): New constant.
(eldoc-timer): New variable.
(eldoc-current-idle-delay): New variable.
(eldoc-schedule-timer): New function.
(eldoc-mode): Use idle timers if supported.

(eldoc-add-command): Provide completion on interactive commands only, not
all bound functions.

(eldoc-print-current-symbol-info): Renamed from
eldoc-mode-print-current-symbol-info.  All callers changed.
Check whether using idle timers or being run from post-command hooks.
Use `executing-kbd-macro' instead of `executing-macro'.

(eldoc-print-fnsym-args): Don't make interactive.
Cache current symbol name in eldoc-last-data; it was forgetting to do this
previously.
If subr args cannot be determined, show single-line docstring for it instead.

(eldoc-docstring-message): New function.
(eldoc-print-docstring): New function.
(eldoc-print-var-docstring): Use them.

(eldoc-function-argstring-from-docstring-method-table): New constant.
(eldoc-function-argstring-from-docstring): Use it.
1997-02-03 06:13:34 +00:00
Noah Friedman
477c388f4b (eldoc-function-argstring-from-docstring): Add search that finds arglist
for `start-process'; possibly others.
1996-10-04 04:43:42 +00:00
Noah Friedman
58ee38cab8 (eldoc-mode): Toggle eldoc-mode if no prefix given. 1996-07-14 16:46:25 +00:00
Noah Friedman
72a9f8fd72 (eldoc-message): New macro.
(eldoc-print-var-docstring, eldoc-print-fnsym-args): Use it.
1995-11-25 03:45:25 +00:00
Noah Friedman
44154e3cf5 (eldoc-mode-print-current-symbol-info): Do nothing if executing-macro. 1995-11-21 15:21:34 +00:00
Noah Friedman
bd3e175925 (eldoc-minor-mode-string): New variable. 1995-11-18 22:32:07 +00:00
Noah Friedman
dd159a748e (top level): Make sure to set global minor-mode-alist, not local one.
(eldoc-mode-print-current-symbol-info): Make sure this-command is a symbol.
(eldoc-function-argstring): If fn is a macro, skip leading `macro' elt.
(eldoc-function-argstring-from-docstring): Look for `condition-case' pattern.
1995-11-13 01:37:40 +00:00
Noah Friedman
1b09702ac8 Initial revision 1995-11-12 21:04:08 +00:00