]> git.eshelyaron.com Git - emacs.git/commit
(eldoc-message-commands): Doc fixes.
authorNoah Friedman <friedman@splode.com>
Wed, 19 Feb 1997 10:24:26 +0000 (10:24 +0000)
committerNoah Friedman <friedman@splode.com>
Wed, 19 Feb 1997 10:24:26 +0000 (10:24 +0000)
commit9d497c0123892d4756963be81fa29c04073ab94c
tree25f225bbe95c5dc8d242a4b84945f3558eeeb918
parent2884cbf0e87b6581b626562afee7709f7d63213f
(eldoc-message-commands): Doc fixes.

(eldoc-message): Make function, not macro.

(eldoc-last-message): New internal variable.
(eldoc-mode): Initialize it to nil.
(eldoc-message): Use it.
(eldoc-print-current-symbol-info): Use it.

(eldoc-pre-command-refresh-echo-area): New function.
(eldoc-mode): Put it on pre-command-hook if in XEmacs or using idle timers
in Emacs.

(eldoc-message-commands-table-size): New constant.
(eldoc-add-command): Use it to initialize eldoc-message-commands.

(eldoc-display-message-no-interference-p): New function.
(eldoc-display-message-p): Use it.

(eldoc-print-fnsym-args, eldoc-print-var-docstring): Arg sym no longer
optional.
Do not initialize arg if nil.

(eldoc-forward-sexp-safe): Function deleted.
(eldoc-beginning-of-sexp): New function.
(eldoc-fnsym-in-current-sexp): Use eldoc-beginning-of-sexp.
Use eldoc-current-symbol to get symbol at point.

(eldoc-function-argstring-from-docstring-method-table): Forge docstrings
for `and', `or', `list', `+', and `-'.

(eldoc-add-command-completions): New function.
(eldoc-add-command): Take list of args.
No longer interactive.

(eldoc-remove-command-completions): New function.
(eldoc-remove-command): Take list of args.
No longer interactive.

top level: Initialize eldoc-message-commands using
eldoc-add-command-completions.
lisp/emacs-lisp/eldoc.el