branch: scratch/hook-helpers
commit 0fc0b3d4fc69f82b8702dc0255367303ae57a1c5
Author: Ian Dunn <du...@gnu.org>
Commit: Ian Dunn <du...@gnu.org>

    Fixed bug in define-hook-helper
    
    * hook-helpers.el (define-hook-helper): Removed erroneous nested list
---
 hook-helpers.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/hook-helpers.el b/hook-helpers.el
index cc793a3..f15b15d 100644
--- a/hook-helpers.el
+++ b/hook-helpers.el
@@ -180,7 +180,7 @@ quoted.  The keywords are:
            (hook (intern hook-name)))
       `(create-hook-helper ,func-sym ,args
          ,docstring
-         :hooks ((,hook . ,append))
+         :hooks (,hook . ,append)
          ,@body))))
 
 ;;;###autoload

Reply via email to