diff options
| author | Richard M. Stallman | 1993-11-16 08:44:51 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1993-11-16 08:44:51 +0000 |
| commit | 827534ea93fc953423de8a8d8b6c25a80a7ed4ec (patch) | |
| tree | 116163e16c0c5f788b0ea6a9d257300ebbb55896 | |
| parent | 4880982682d624c5df64f3e5219af3e0dd96fb83 (diff) | |
| download | emacs-827534ea93fc953423de8a8d8b6c25a80a7ed4ec.tar.gz emacs-827534ea93fc953423de8a8d8b6c25a80a7ed4ec.zip | |
(remove-hook): Doc fix.
| -rw-r--r-- | lisp/subr.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 02ada23bb67..6837adc8791 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -497,7 +497,7 @@ function, it is changed to a list of functions." | |||
| 497 | "Remove from the value of HOOK the function FUNCTION. | 497 | "Remove from the value of HOOK the function FUNCTION. |
| 498 | HOOK should be a symbol, and FUNCTION may be any valid function. If | 498 | HOOK should be a symbol, and FUNCTION may be any valid function. If |
| 499 | FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the | 499 | FUNCTION isn't the value of HOOK, or, if FUNCTION doesn't appear in the |
| 500 | list of hooks to run in HOOK, then nothing is done. See add-hook." | 500 | list of hooks to run in HOOK, then nothing is done. See `add-hook'." |
| 501 | (if (or (not (boundp hook)) ;unbound symbol, or | 501 | (if (or (not (boundp hook)) ;unbound symbol, or |
| 502 | (null (symbol-value hook)) ;value is nil, or | 502 | (null (symbol-value hook)) ;value is nil, or |
| 503 | (null function)) ;function is nil, then | 503 | (null function)) ;function is nil, then |