Fix prependq!

Used one too many levels of nesting
This commit is contained in:
Henrik Lissner
2019-07-23 18:10:40 +02:00
parent 3b9838ed41
commit 58ab20ec5f

View File

@ -224,7 +224,7 @@ This is a variadic `push'."
(defmacro prependq! (sym &rest lists) (defmacro prependq! (sym &rest lists)
"Prepend LISTS to SYM in place." "Prepend LISTS to SYM in place."
`(setq ,sym (append (list ,@lists) ,sym))) `(setq ,sym (append ,@lists ,sym)))
(defmacro appendq! (sym &rest lists) (defmacro appendq! (sym &rest lists)
"Append LISTS to SYM in place." "Append LISTS to SYM in place."