summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoão Távora <joaotavora@gmail.com>2020-07-26 10:54:09 +0100
committerJoão Távora <joaotavora@gmail.com>2020-07-26 10:54:24 +0100
commitdae97708ea41f54f2974b405555816ada393fb9a (patch)
treed418ed4e08fca06188894c9c55ea325d8c76c886
parent9f01ce6327af886f26399924a9aadf16cdd4fd9f (diff)
downloademacs-dae97708ea41f54f2974b405555816ada393fb9a.tar.gz
Correct order or eldoc-documentation-functions in Elisp mode
Fixes: bug#42531 * lisp/progmodes/elisp-mode.el (emacs-lisp-mode): Reverse order of eldoc-documentation-functions.
-rw-r--r--lisp/progmodes/elisp-mode.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/progmodes/elisp-mode.el b/lisp/progmodes/elisp-mode.el
index 6df54111911..2f44118edb5 100644
--- a/lisp/progmodes/elisp-mode.el
+++ b/lisp/progmodes/elisp-mode.el
@@ -280,9 +280,9 @@ Blank lines separate paragraphs. Semicolons start comments.
electric-pair-text-pairs))
(add-hook 'electric-pair-mode-hook #'emacs-lisp-set-electric-text-pairs))
(add-hook 'eldoc-documentation-functions
- #'elisp-eldoc-var-docstring nil t)
- (add-hook 'eldoc-documentation-functions
#'elisp-eldoc-funcall nil t)
+ (add-hook 'eldoc-documentation-functions
+ #'elisp-eldoc-var-docstring nil t)
(add-hook 'xref-backend-functions #'elisp--xref-backend nil t)
(setq-local project-vc-external-roots-function #'elisp-load-path-roots)
(add-hook 'completion-at-point-functions