]> git.eshelyaron.com Git - emacs.git/commit
Expose ElDoc functions in a hook (Bug#28257)
authorMark Oteiza <mvoteiza@udel.edu>
Tue, 25 Feb 2020 22:53:04 +0000 (17:53 -0500)
committerMark Oteiza <mvoteiza@udel.edu>
Tue, 25 Feb 2020 23:15:12 +0000 (18:15 -0500)
commitc0fcbd2c119b8418855f0931aceefbef717c5e53
treee082296f7c739d7e4420ddd7210a0f022174640b
parent03c07c88d90b5747456b9d286bace2dd4a713aac
Expose ElDoc functions in a hook (Bug#28257)

* lisp/emacs-lisp/eldoc.el: Update commentary.
(eldoc--eval-expression-setup): Use new hook.
(eldoc--supported-p): Accomodate new hook.
(eldoc-documentation-functions): New hook.
(eldoc-documentation-default, eldoc-documentation-compose): New
functions.
(eldoc-documentation-function): Use 'eldoc-documentation-default' as new
default value.  Update documentation and custom attributes.
(eldoc-print-current-symbol-info): Accomodate possible null value for
'eldoc-documentation-function'.
* etc/NEWS: Mention them.
* doc/emacs/programs.texi (Emacs Lisp Documentation Lookup): Mention
new hook and changes to 'eldoc-documentation-function'.
* lisp/hexl.el (hexl-mode, hexl-revert-buffer-function):
* lisp/ielm.el (inferior-emacs-lisp-mode):
* lisp/progmodes/cfengine.el (cfengine3-mode):
* lisp/progmodes/elisp-mode.el (emacs-lisp-mode):
* lisp/progmodes/octave.el (octave-mode):
* lisp/progmodes/python.el (python-mode): Use new hook.
doc/emacs/programs.texi
etc/NEWS
lisp/emacs-lisp/eldoc.el
lisp/hexl.el
lisp/ielm.el
lisp/progmodes/cfengine.el
lisp/progmodes/elisp-mode.el
lisp/progmodes/octave.el
lisp/progmodes/python.el