emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lisp/subr.el [emacs-unicode-2]


From: Miles Bader
Subject: [Emacs-diffs] Changes to emacs/lisp/subr.el [emacs-unicode-2]
Date: Sat, 25 Sep 2004 08:28:34 -0400

Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.360.2.10 emacs/lisp/subr.el:1.360.2.11
*** emacs/lisp/subr.el:1.360.2.10       Tue Sep 21 09:34:08 2004
--- emacs/lisp/subr.el  Sat Sep 25 12:05:25 2004
***************
*** 1938,1945 ****
  (put 'delay-mode-hooks 'permanent-local t)
  
  (defvar after-change-major-mode-hook nil
!   "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)
    "Run mode hooks `delayed-mode-hooks' and HOOKS, or delay HOOKS.
--- 1938,1944 ----
  (put 'delay-mode-hooks 'permanent-local t)
  
  (defvar after-change-major-mode-hook nil
!   "Normal hook run at the very end of major mode functions.")
  
  (defun run-mode-hooks (&rest hooks)
    "Run mode hooks `delayed-mode-hooks' and HOOKS, or delay HOOKS.
***************
*** 1959,1964 ****
--- 1958,1965 ----
  
  (defmacro delay-mode-hooks (&rest body)
    "Execute BODY, but delay any `run-mode-hooks'.
+ These hooks will be executed by the first following call to
+ `run-mode-hooks' that occurs outside any `delayed-mode-hooks' form.
  Only affects hooks run in the current buffer."
    (declare (debug t))
    `(progn




reply via email to

[Prev in Thread] Current Thread [Next in Thread]