reverse => nreverse; other optimizations

This commit is contained in:
Henrik Lissner 2017-03-01 19:15:45 -05:00
parent 4723a3d76f
commit 27cc4a9508
7 changed files with 22 additions and 22 deletions

View file

@ -111,7 +111,7 @@ Examples:
',(if quoted-p h (intern (format "%s-hook" h)))
,fn ,append-p ,local-p)
forms)))
`(progn ,@(reverse forms)))))
`(progn ,@(nreverse forms)))))
(defmacro remove-hook! (&rest args)
"Convenience macro for `remove-hook'. Takes the same arguments as