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

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

[elpa] externals/setup 7cb02ce 19/24: Remove unnecessary unquote in :bin


From: Stefan Monnier
Subject: [elpa] externals/setup 7cb02ce 19/24: Remove unnecessary unquote in :bind and :rebind
Date: Thu, 25 Mar 2021 13:42:37 -0400 (EDT)

branch: externals/setup
commit 7cb02ce1e02fdb25ec000313ce827d07e805f4f4
Author: Philip K <philipk@posteo.net>
Commit: Philip K <philipk@posteo.net>

    Remove unnecessary unquote in :bind and :rebind
---
 setup.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/setup.el b/setup.el
index cbbd796..c2f112b 100644
--- a/setup.el
+++ b/setup.el
@@ -277,7 +277,7 @@ the first FEATURE."
     `(define-key (eval setup-map)
        ,(if (or (symbolp key) (stringp key))
             `(kbd ,key)
-          ,key)
+          key)
        #',command))
   :documentation "Bind KEY to COMMAND in current map."
   :after-loaded t
@@ -304,7 +304,7 @@ the first FEATURE."
        (define-key (eval setup-map)
          ,(if (or (symbolp key) (stringp key))
               `(kbd ,key)
-            ,key)
+            key)
          #',command)))
   :documentation "Unbind the current key for COMMAND, and bind it to KEY."
   :after-loaded t



reply via email to

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