emacs/lisp/cedet/semantic
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
..
analyze Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bovine Update copyright year to 2020 2020-01-01 00:59:52 +00:00
decorate Update copyright year to 2020 2020-01-01 00:59:52 +00:00
symref Update copyright year to 2020 2020-01-01 00:59:52 +00:00
wisent Remove some XEmacs compat code from semantic 2020-05-16 15:41:29 +02:00
analyze.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
bovine.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
chart.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
complete.el Evaluate some unnecessarily quoted lambdas 2020-06-21 13:42:14 +01:00
ctxt.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-debug.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-ebrowse.el Quote semanticdb-ebrowse-default-file-name in regexp 2020-04-16 12:14:38 +02:00
db-el.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-file.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-find.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-global.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-javascript.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-mode.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-ref.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db-typecache.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
db.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
debug.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
decorate.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
dep.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
doc.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ede-grammar.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
edit.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
find.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
format.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
fw.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
grammar-wy.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
grammar.el Make more parts of Emacs use new Eldoc capabilities 2020-07-08 11:25:33 +01:00
html.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ia-sb.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
ia.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
idle.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
imenu.el Replace add-hook load-hook with with-eval-after-load 2020-01-16 21:21:29 -08:00
java.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lex-spp.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
lex.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
mru-bookmark.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sb.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
scope.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
senator.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
sort.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
symref.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tag-file.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tag-ls.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tag-write.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
tag.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
texi.el Fix edge case errors in filename-matching regexps 2020-04-14 12:25:16 +02:00
util-modes.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
util.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00
wisent.el Update copyright year to 2020 2020-01-01 00:59:52 +00:00