mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-01 12:17:25 -05:00
reverse => nreverse; other optimizations
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user