From: Juanma Barranquero Date: Tue, 9 Oct 2007 08:39:33 +0000 (+0000) Subject: (follow-mode-hook, follow-mode): Doc fixes. X-Git-Tag: emacs-pretest-22.1.90~645 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=80025c1c5f9a536a1a825aa16b5982688d8fd7b0;p=emacs.git (follow-mode-hook, follow-mode): Doc fixes. (follow-mode-off-hook): Mark as obsolete. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 49bbe7b1816..ed0a9ed25e8 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-10-09 Juanma Barranquero + + * follow.el (follow-mode-hook, follow-mode): Doc fixes. + (follow-mode-off-hook): Mark as obsolete. + 2007-10-08 Richard Stallman * emacs-lisp/edebug.el (edebug-install-custom-print-funcs) diff --git a/lisp/follow.el b/lisp/follow.el index eddb1037a43..ad952d386fa 100644 --- a/lisp/follow.el +++ b/lisp/follow.el @@ -277,7 +277,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) @@ -285,7 +285,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 @@ -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}"