From: João Távora Date: Sun, 26 Jul 2020 09:54:09 +0000 (+0100) Subject: Correct order or eldoc-documentation-functions in Elisp mode X-Git-Tag: emacs-28.0.90~6934 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=dae97708ea41f54f2974b405555816ada393fb9a;p=emacs.git 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. --- 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