changeset 79020:f59eafc3c43c

(follow-mode-hook, follow-mode): Doc fixes. (follow-mode-off-hook): Mark as obsolete.
author Juanma Barranquero <lekktu@gmail.com>
date Tue, 09 Oct 2007 08:37:26 +0000
parents 57114c40dbd3
children e85dfffee7c6
files lisp/follow.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/follow.el	Tue Oct 09 02:41:25 2007 +0000
+++ b/lisp/follow.el	Tue Oct 09 08:37:26 2007 +0000
@@ -277,7 +277,7 @@
   :group 'convenience)
 
 (defcustom follow-mode-hook nil
-  "Hooks to run when Follow mode is turned on."
+  "Normal hook run by `follow-mode'."
   :type 'hook
   :group 'follow)
 
@@ -285,7 +285,7 @@
   "Hooks to run when Follow mode is turned off."
   :type 'hook
   :group 'follow)
-
+(make-obsolete-variable 'follow-mode-off-hook 'follow-mode-hook "22.2")
 
 ;;{{{ Keymap/Menu
 
@@ -596,8 +596,7 @@
 will listen to the output of processes and redisplay accordingly.
 \(This is the default.)
 
-When Follow mode is switched on, the hook `follow-mode-hook'
-is called.  When turned off, `follow-mode-off-hook' is called.
+This command runs the normal hook `follow-mode-hook'.
 
 Keys specific to Follow mode:
 \\{follow-mode-map}"