Mercurial > emacs
changeset 81765:7effaa2c79bd
(run-mode-hooks): Docstring improvement.
author | Stefan Monnier <monnier@iro.umontreal.ca> |
---|---|
date | Sun, 08 Jul 2007 19:35:50 +0000 |
parents | 12e5ff38b024 |
children | a9af9c6eaaad |
files | lisp/subr.el |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/subr.el Sun Jul 08 19:34:19 2007 +0000 +++ b/lisp/subr.el Sun Jul 08 19:35:50 2007 +0000 @@ -1219,7 +1219,8 @@ Execution is delayed if `delay-mode-hooks' is non-nil. If `delay-mode-hooks' is nil, run `after-change-major-mode-hook' after running the mode hooks. -Major mode functions should use this." +Major mode functions should use this instead of `run-hooks' when running their +FOO-mode-hook." (if delay-mode-hooks ;; Delaying case. (dolist (hook hooks)