Fix remove-hook
This commit is contained in:
parent
233cbf95d7
commit
efb41ecc11
1 changed files with 1 additions and 1 deletions
|
|
@ -69,7 +69,7 @@
|
|||
|
||||
(defmacro remove-hook (hook fun)
|
||||
"Remove `fun' from `hook'."
|
||||
`(delete ,fun ,hook))
|
||||
`(setf ,hook (delete ,fun ,hook)))
|
||||
|
||||
(defun run-hook (hook &rest args)
|
||||
"Apply all functions attached to `hook' with specified `args' if any."
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue