From dae97708ea41f54f2974b405555816ada393fb9a Mon Sep 17 00:00:00 2001 From: =?utf8?q?Jo=C3=A3o=20T=C3=A1vora?= Date: Sun, 26 Jul 2020 10:54:09 +0100 Subject: [PATCH] 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. --- lisp/progmodes/elisp-mode.el | 4 ++-- 1 file 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 @@ -279,10 +279,10 @@ Blank lines separate paragraphs. Semicolons start comments. (append '((?\` . ?\') (?\‘ . ?\’)) 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 -- 2.39.5