]> git.eshelyaron.com Git - emacs.git/commitdiff
(follow-mode-hook, follow-mode): Doc fixes.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 9 Oct 2007 08:44:02 +0000 (08:44 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 9 Oct 2007 08:44:02 +0000 (08:44 +0000)
(follow-mode-off-hook): Mark as obsolete.

lisp/follow.el

index 7c3af0986558c659a7fd46d400585033c365851a..7ca3a5b3296bd234dc4fe5c379316504b5fd13d1 100644 (file)
   :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)
 
   "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 @@ If the variable `follow-intercept-processes' is non-nil, Follow mode
 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}"