[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
- [elpa] externals/setup f3e1b0f 10/24: Link to repository, (continued)
- [elpa] externals/setup f3e1b0f 10/24: Link to repository, Stefan Monnier, 2021/03/25
- [elpa] externals/setup d1a55e7 07/24: Simplify setup docstring, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 483c938 08/24: Mention that :when-loaded is bad style, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 1893abc 13/24: Document :shorthand and extractors, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 2e18255 23/24: Always push cons as name onto body, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 844b6bc 15/24: Removed unnecessary unquote in :unbind, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 8f586c3 16/24: Fix hide-mode handling for the first element in minor-mode-alist, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 58cb897 09/24: Remove empty lines in docstrings, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 48658fb 20/24: Fix broken markup in README, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 903564b 21/24: Add if-package and if-feature macros, Stefan Monnier, 2021/03/25
- [elpa] externals/setup f3d4d27 11/24: Replace (function-)form with sexp where necessary,
Stefan Monnier <=
- [elpa] externals/setup 546c5f2 12/24: Bump version to 0.1.2, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 7cb02ce 19/24: Remove unnecessary unquote in :bind and :rebind, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 4d74aa7 14/24: Don't require extra quoting for :advise, Stefan Monnier, 2021/03/25
- [elpa] externals/setup f3551c0 18/24: Use delq properly in README/Commentary, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 1861d8c 22/24: Handle nil feature in :with-feature, Stefan Monnier, 2021/03/25
- [elpa] externals/setup 7a78f66 24/24: Consistently use symbol-value instead of eval, Stefan Monnier, 2021/03/25
- [elpa] externals/setup c2a1f64 17/24: Add (remove ...) keyword to :option and :local-set, Stefan Monnier, 2021/03/25