summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/subr.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 9db8b6c1b11..327d6386fcb 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -1938,7 +1938,7 @@ in BODY."
(put 'delay-mode-hooks 'permanent-local t)
(defvar after-change-major-mode-hook nil
- "Mode independent hook run after changing major modes.
+ "Mode independent hook run at the end of major mode functions.
This is run just before the mode dependent hooks.")
(defun run-mode-hooks (&rest hooks)