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

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

[elpa] externals/setup f3d4d27 11/24: Replace (function-)form with sexp


From: Stefan Monnier
Subject: [elpa] externals/setup f3d4d27 11/24: Replace (function-)form with sexp where necessary
Date: Thu, 25 Mar 2021 13:42:36 -0400 (EDT)

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

    Replace (function-)form with sexp where necessary
    
    Most of these macros modify hooks, and inserting an edebug'ed hook
    breaks functionality without adding debuggability.
---
 setup.el | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/setup.el b/setup.el
index 56580b7..ab4bf0f 100644
--- a/setup.el
+++ b/setup.el
@@ -257,7 +257,7 @@ If not given, it is assumed nothing is evaluated."
              (key))
       #',command))
   :documentation "Globally bind KEY to COMMAND."
-  :debug '(form function-form)
+  :debug '(form sexp)
   :repeatable t)
 
 (setup-define :bind
@@ -269,7 +269,7 @@ If not given, it is assumed nothing is evaluated."
        #',command))
   :documentation "Bind KEY to COMMAND in current map."
   :after-loaded t
-  :debug '(form function-form)
+  :debug '(form sexp)
   :repeatable t)
 
 (setup-define :unbind
@@ -296,7 +296,7 @@ If not given, it is assumed nothing is evaluated."
          #',command)))
   :documentation "Unbind the current key for COMMAND, and bind it to KEY."
   :after-loaded t
-  :debug '(form function-form)
+  :debug '(form sexp)
   :repeatable t)
 
 (setup-define :hook
@@ -369,7 +369,7 @@ form (prepend VAR), VAL is prepended to VAR."
                (lambda ()
                  (add-hook ',hook #',function nil t))))
   :documentation "Add FUNCTION to HOOK only in buffers of the current mode."
-  :debug '(symbolp form)
+  :debug '(symbolp sexp)
   :repeatable t)
 
 (setup-define :advise



reply via email to

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