From 337a64d11659e76d6d1579a3b0b9fba4577d4d55 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Sun, 8 Jul 2007 19:35:50 +0000 Subject: [PATCH] (run-mode-hooks): Docstring improvement. --- lisp/subr.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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." 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) -- 2.39.5