From: Juanma Barranquero Date: Tue, 9 Oct 2007 08:44:02 +0000 (+0000) Subject: (follow-mode-hook, follow-mode): Doc fixes. X-Git-Tag: emacs-pretest-23.0.90~10468 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=eceb3266a1f66a0034954aa82efbb20a5be959f8;p=emacs.git (follow-mode-hook, follow-mode): Doc fixes. (follow-mode-off-hook): Mark as obsolete. --- diff --git a/lisp/follow.el b/lisp/follow.el index 7c3af098655..7ca3a5b3296 100644 --- a/lisp/follow.el +++ b/lisp/follow.el @@ -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 @@ 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}"