aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Monnier2007-07-08 19:35:50 +0000
committerStefan Monnier2007-07-08 19:35:50 +0000
commit337a64d11659e76d6d1579a3b0b9fba4577d4d55 (patch)
tree12268da7dc9709717a43afbee35f175baa0a9b86
parentf4b43eb3626b51a7e995a9bbea6ee2c9e6a22fea (diff)
downloademacs-337a64d11659e76d6d1579a3b0b9fba4577d4d55.tar.gz
emacs-337a64d11659e76d6d1579a3b0b9fba4577d4d55.zip
(run-mode-hooks): Docstring improvement.
-rw-r--r--lisp/subr.el3
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."
1219Execution is delayed if `delay-mode-hooks' is non-nil. 1219Execution is delayed if `delay-mode-hooks' is non-nil.
1220If `delay-mode-hooks' is nil, run `after-change-major-mode-hook' 1220If `delay-mode-hooks' is nil, run `after-change-major-mode-hook'
1221after running the mode hooks. 1221after running the mode hooks.
1222Major mode functions should use this." 1222Major mode functions should use this instead of `run-hooks' when running their
1223FOO-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)