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

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

[elpa] externals/setup cb8085e 01/24: Remove debug specification for :ho


From: Stefan Monnier
Subject: [elpa] externals/setup cb8085e 01/24: Remove debug specification for :hook
Date: Thu, 25 Mar 2021 13:42:33 -0400 (EDT)

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

    Remove debug specification for :hook
    
    It doesn't make sense to differentiate between symbols and
    non-symbols, as hooks should ideally just be populated by (function)
    symbols. The previous specification make the mistake of assuming two
    arguments, which just make it worse.
---
 setup.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/setup.el b/setup.el
index 45dca0f..e8ddaec 100644
--- a/setup.el
+++ b/setup.el
@@ -303,7 +303,6 @@ If not given, it is assumed nothing is evaluated."
   (lambda (function)
     `(add-hook setup-hook #',function))
   :documentation "Add FUNCTION to current hook."
-  :debug '(form [&or [symbolp sexp] form])
   :repeatable t)
 
 (setup-define :hook-into



reply via email to

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