1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-14 09:39:42 +00:00
emacs/lisp/cedet
João Távora 1203626f47 Make more parts of Emacs use new Eldoc capabilities
Elisp-mode was doing a lot of work that can now be delegated to Eldoc.
Flymake uses the new Eldoc functionality, too, installing a global
documentation function that may report on diagnostics under point.

CEDET's grammar.el was left as the only user of an Eldoc-internal
function.  That function was moved to grammar.el.  That file is still,
somewhat reprehensibly, using an internal function of elisp-mode.el,
but this was left unchanged.

In other situations, eldoc-documentation-functions is used or
recommended.

The only other places where the obsolete eldoc-documentation-function
is still used is in libraries which are presumably meant to remain
compatible with previous Emacs versions.

* lisp/progmodes/elisp-mode.el (elisp-eldoc-funcall)
(elisp-eldoc-var-docstring): New functions.
(emacs-lisp-mode): Put two elements in
eldoc-documentation-functions.

* lisp/emacs-lisp/eldoc.el (eldoc--eval-expression-setup): Setup
new Elisp eldoc-documentation-functions.

* lisp/progmodes/flymake.el (flymake-mode): Use
flymake-eldoc-function.
(flymake-eldoc-function): New function.
(Package-Requires): Require eldoc 1.1.0

* lisp/descr-text.el (describe-char-eldoc): Recommend
eldoc-documentation-functions.

* lisp/progmodes/cfengine.el (cfengine3-documentation-function):
Recommend eldoc-documentation-functions

* lisp/progmodes/octave.el (inferior-octave-mode): Use
eldoc-documentation-functions.

* lisp/cedet/semantic/grammar.el (semantic--docstring-format-sym-doc):
New function.
(semantic-grammar-eldoc-get-macro-docstring): Adjust.
2020-07-08 11:25:33 +01:00
..
ede Fix the error message from makefile-move-to-macro 2020-01-17 10:15:23 +02:00
semantic Make more parts of Emacs use new Eldoc capabilities 2020-07-08 11:25:33 +01:00
srecode Merge from origin/emacs-27 2020-04-15 07:50:15 -07:00
cedet-cscope.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cedet-files.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cedet-global.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cedet-idutils.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
cedet.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ChangeLog.1 Update copyright year to 2020 2020-01-01 00:59:52 +00:00
data-debug.el Remove some compat code from CEDET 2020-05-16 17:43:30 +02:00
ede.el project.el: A project has only one main root now 2020-05-23 04:54:42 +03:00
inversion.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mode-local.el Replace add-to-list to lexical variable with push (bug#39373) 2020-02-01 22:27:23 +01:00
pulse.el Fix face extension in pulse.el 2020-04-09 19:44:55 +03:00
semantic.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
srecode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00