reverse => nreverse; other optimizations
This commit is contained in:
parent
4723a3d76f
commit
27cc4a9508
7 changed files with 22 additions and 22 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue