mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(run-mode-hooks): Docstring improvement.
This commit is contained in:
parent
f4b43eb362
commit
337a64d116
@ -1219,7 +1219,8 @@ if it is empty or a duplicate."
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user