ElDoc: add docstrings and minor refactoring
commitd37a82b4a35bdffa0462ba9954bd432cf7d54659
authorCharles A. Roelli <charles@aurox.ch>
Sat, 22 Jul 2017 08:09:36 +0000 (22 11:09 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Jul 2017 08:09:36 +0000 (22 11:09 +0300)
tree08b927c81b857f200389c97fcfa4113ae3ec8c5a
parent842ac11c0d3f4fe24a30c35e3ae8d810cf56c549
ElDoc: add docstrings and minor refactoring

* lisp/emacs-lisp/eldoc.el (eldoc-edit-message-commands): Add
docstring.
(turn-on-eldoc-mode): Fix capitalization.
(eldoc--supported-p): Add docstring.
(eldoc-schedule-timer): Add docstring and use
'eldoc--supported-p'.
(eldoc-message): Add docstring and make calling convention
clearer.
(eldoc--message-command-p):
(eldoc-pre-command-refresh-echo-area):
(eldoc-display-message-p):
(eldoc-display-message-no-interference-p):
(eldoc-print-current-symbol-info):
(eldoc-docstring-format-sym-doc):
(eldoc-add-command, eldoc-add-command-completions):
(eldoc-remove-command, eldoc-remove-command-completions):
Add docstring.  (Bug#27230)
lisp/emacs-lisp/eldoc.el