[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] Changes to emacs/lisp/subr.el
From: |
Richard M. Stallman |
Subject: |
[Emacs-diffs] Changes to emacs/lisp/subr.el |
Date: |
Sun, 16 Dec 2001 13:36:35 -0500 |
Index: emacs/lisp/subr.el
diff -c emacs/lisp/subr.el:1.279 emacs/lisp/subr.el:1.280
*** emacs/lisp/subr.el:1.279 Sun Dec 16 12:41:20 2001
--- emacs/lisp/subr.el Sun Dec 16 13:36:34 2001
***************
*** 1084,1089 ****
--- 1084,1102 ----
(defvar suspend-resume-hook nil
"Normal hook run by `suspend-emacs', after Emacs is continued.")
+ (defvar temp-buffer-show-hook nil
+ "Normal hook run by `with-output-to-temp-buffer' after displaying the
buffer.
+ When the hook runs, the temporary buffer is current, and the window it
+ was displayed in is selected. This hook is normally set up with a
+ function to make the buffer read only, and find function names and
+ variable names in it, provided the major mode is still Help mode.")
+
+ (defvar temp-buffer-setup-hook nil
+ "Normal hook run by `with-output-to-temp-buffer' at the start.
+ When the hook runs, the temporary buffer is current.
+ This hook is normally set up with a function to put the buffer in Help
+ mode.")
+
;; Avoid compiler warnings about this variable,
;; which has a special meaning on certain system types.
(defvar buffer-file-type nil