changeset 85113:82b4a12fd080

(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:44:02 +0000
parents af9c012cb8d1
children 5039706521c9
files lisp/follow.el
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/follow.el	Tue Oct 09 08:09:15 2007 +0000
+++ b/lisp/follow.el	Tue Oct 09 08:44:02 2007 +0000
@@ -278,7 +278,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)
 
@@ -286,7 +286,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
 
@@ -517,8 +517,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}"