]> git.eshelyaron.com Git - emacs.git/commit
Replace eldoc-documentation-function with a hook
authorMark Oteiza <mvoteiza@udel.edu>
Thu, 7 Jul 2016 03:16:32 +0000 (23:16 -0400)
committerMark Oteiza <mvoteiza@udel.edu>
Thu, 7 Jul 2016 03:16:32 +0000 (23:16 -0400)
commit5811404f0b86c9fa92c3e0b22505a9bb05f04145
tree8657229441089656e2a887f4fa56165c30131bc0
parentc0a5ae906d09c976eb4c90f3f5cd98089512318b
Replace eldoc-documentation-function with a hook

* lisp/emacs-lisp/eldoc.el (eldoc-documentation-functions): New hook.
(eldoc-documentation-function): Make into obsolete alias.
(eldoc-echo-area-use-multiline-p, eldoc-highlight-function-argument):
(eldoc-argument-case, global-eldoc-mode): Update docstrings.
(eldoc-print-current-symbol-info): Use run-hook-with-args-until-success
on eldoc-documentation-functions.
(eldoc-supported-p): New function.
(eldoc-mode, global-eldoc-mode, eldoc-schedule-timer): Use eldoc-supported-p.
* etc/NEWS: Mention eldoc-documentation-functions.
* doc/lispref/modes.texi: Update reference.
doc/lispref/modes.texi
etc/NEWS
lisp/emacs-lisp/eldoc.el