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

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

[elpa] externals/eglot 4c8ef90fcc 1/2: Remove unnecessary compatibility


From: ELPA Syncer
Subject: [elpa] externals/eglot 4c8ef90fcc 1/2: Remove unnecessary compatibility code
Date: Sun, 16 Jan 2022 06:57:26 -0500 (EST)

branch: externals/eglot
commit 4c8ef90fcc3f84a21b77d4cf718425ac13fd538b
Author: Stefan Kangas <stefan@marxist.se>
Commit: Stefan Kangas <stefan@marxist.se>

    Remove unnecessary compatibility code
    
    * eglot.el (eglot-mode-map): Remove unnecessary compatibility
    code.  We already depend on eldoc 0.11.0.
---
 eglot.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/eglot.el b/eglot.el
index 72a0103c81..0cc317fa7a 100644
--- a/eglot.el
+++ b/eglot.el
@@ -1519,8 +1519,7 @@ and just return it.  PROMPT shouldn't end with a question 
mark."
 ;;;
 (defvar eglot-mode-map
   (let ((map (make-sparse-keymap)))
-    (when (fboundp 'eldoc-doc-buffer) ; Emacs 28.1 or later
-      (define-key map [remap display-local-help] #'eldoc-doc-buffer))
+    (define-key map [remap display-local-help] #'eldoc-doc-buffer)
     map))
 
 (defvar-local eglot--current-flymake-report-fn nil



reply via email to

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