emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master dae9770: Correct order or eldoc-documentation-functions in Elisp


From: Joo Tvora
Subject: master dae9770: Correct order or eldoc-documentation-functions in Elisp mode
Date: Sun, 26 Jul 2020 05:55:04 -0400 (EDT)

branch: master
commit dae97708ea41f54f2974b405555816ada393fb9a
Author: João Távora <joaotavora@gmail.com>
Commit: João Távora <joaotavora@gmail.com>

    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 6df5411..2f44118 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]