emacs-elpa-diffs
[Top][All Lists]
Advanced

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

[elpa] externals/eglot 45c651e 06/16: Per #31: Unbreak basic imenu funct


From: João Távora
Subject: [elpa] externals/eglot 45c651e 06/16: Per #31: Unbreak basic imenu functionality
Date: Mon, 9 Jul 2018 17:27:13 -0400 (EDT)

branch: externals/eglot
commit 45c651eb5ed45b42014c2bbc8bc117b9b211b8e7
Author: João Távora <address@hidden>
Commit: João Távora <address@hidden>

    Per #31: Unbreak basic imenu functionality
    
    * eglot.el (eglot--managed-mode): Add missing quote to
    imenu-create-index-function.
---
 eglot.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index ce33543..f8574e9 100644
--- a/eglot.el
+++ b/eglot.el
@@ -692,7 +692,7 @@ If optional MARKERS, make markers."
     (add-hook 'completion-at-point-functions #'eglot-completion-at-point nil t)
     (add-function :before-until (local 'eldoc-documentation-function)
                   #'eglot-eldoc-function)
-    (add-function :around (local imenu-create-index-function) #'eglot-imenu))
+    (add-function :around (local 'imenu-create-index-function) #'eglot-imenu))
    (t
     (remove-hook 'flymake-diagnostic-functions 'eglot-flymake-backend t)
     (remove-hook 'after-change-functions 'eglot--after-change t)
@@ -705,7 +705,7 @@ If optional MARKERS, make markers."
     (remove-hook 'completion-at-point-functions #'eglot-completion-at-point t)
     (remove-function (local 'eldoc-documentation-function)
                      #'eglot-eldoc-function)
-    (remove-function (local imenu-create-index-function) #'eglot-imenu)
+    (remove-function (local 'imenu-create-index-function) #'eglot-imenu)
     (setq eglot--current-flymake-report-fn nil))))
 
 (defun eglot--managed-mode-onoff (server arg)



reply via email to

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