diff options
| author | Stefan Monnier | 2007-07-08 19:35:50 +0000 |
|---|---|---|
| committer | Stefan Monnier | 2007-07-08 19:35:50 +0000 |
| commit | 337a64d11659e76d6d1579a3b0b9fba4577d4d55 (patch) | |
| tree | 12268da7dc9709717a43afbee35f175baa0a9b86 | |
| parent | f4b43eb3626b51a7e995a9bbea6ee2c9e6a22fea (diff) | |
| download | emacs-337a64d11659e76d6d1579a3b0b9fba4577d4d55.tar.gz emacs-337a64d11659e76d6d1579a3b0b9fba4577d4d55.zip | |
(run-mode-hooks): Docstring improvement.
| -rw-r--r-- | lisp/subr.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el index 86616265c59..f890caf66e4 100644 --- a/lisp/subr.el +++ b/lisp/subr.el | |||
| @@ -1219,7 +1219,8 @@ if it is empty or a duplicate." | |||
| 1219 | Execution is delayed if `delay-mode-hooks' is non-nil. | 1219 | Execution is delayed if `delay-mode-hooks' is non-nil. |
| 1220 | If `delay-mode-hooks' is nil, run `after-change-major-mode-hook' | 1220 | If `delay-mode-hooks' is nil, run `after-change-major-mode-hook' |
| 1221 | after running the mode hooks. | 1221 | after running the mode hooks. |
| 1222 | Major mode functions should use this." | 1222 | Major mode functions should use this instead of `run-hooks' when running their |
| 1223 | FOO-mode-hook." | ||
| 1223 | (if delay-mode-hooks | 1224 | (if delay-mode-hooks |
| 1224 | ;; Delaying case. | 1225 | ;; Delaying case. |
| 1225 | (dolist (hook hooks) | 1226 | (dolist (hook hooks) |