From eceb3266a1f66a0034954aa82efbb20a5be959f8 Mon Sep 17 00:00:00 2001 From: Juanma Barranquero Date: Tue, 9 Oct 2007 08:44:02 +0000 Subject: [PATCH] (follow-mode-hook, follow-mode): Doc fixes. (follow-mode-off-hook): Mark as obsolete. --- lisp/follow.el | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) 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}" -- 2.39.5