]> code.delx.au - gnu-emacs/commitdiff
(follow-mode-hook, follow-mode): Doc fixes.
authorJuanma Barranquero <lekktu@gmail.com>
Tue, 9 Oct 2007 08:39:33 +0000 (08:39 +0000)
committerJuanma Barranquero <lekktu@gmail.com>
Tue, 9 Oct 2007 08:39:33 +0000 (08:39 +0000)
(follow-mode-off-hook): Mark as obsolete.

lisp/ChangeLog
lisp/follow.el

index 49bbe7b181674ba042b569c45e851aa50407df59..ed0a9ed25e80e2a056bd117d5c09b548837817b2 100644 (file)
@@ -1,3 +1,8 @@
+2007-10-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * follow.el (follow-mode-hook, follow-mode): Doc fixes.
+       (follow-mode-off-hook): Mark as obsolete.
+
 2007-10-08  Richard Stallman  <rms@gnu.org>
 
        * emacs-lisp/edebug.el (edebug-install-custom-print-funcs)
index eddb1037a43e67f40dfc60c96b187b38aaf1e3e0..ad952d386fa768042cc83cd5f9600011dbca6b1a 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
 
@@ -596,8 +596,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}"