]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix last change.
authorEli Zaretskii <eliz@gnu.org>
Sat, 4 Sep 2004 13:06:38 +0000 (13:06 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 4 Sep 2004 13:06:38 +0000 (13:06 +0000)
etc/NEWS
lisp/ChangeLog
lisp/simple.el

index 164da9242553afa4a5bdf234e546e15c418a2a56..0902888625c67d4e051e4d4b9a7d4b25c53a1c29 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -247,11 +247,12 @@ The new file etc/compilation.txt gives examples of each type of message.
 Hits are fontified in green, and hits in binary files in orange.  Grep buffers
 can be saved and automatically revisited with the new Grep mode.
 
-** A new minor mode `next-error-follow-mode' can be used in
-compilation-mode, grep-mode, occur-mode, and diff-mode (i.e. all the modes
-that can use `next-error') to associate cursor movements in
-compilation, grep, occur or diff buffers with cursor movements in the
-target buffers. This minor mode can be toggled  with C-c C-f.
+** A new minor mode `next-error-follow-minor-mode' can be used in
+compilation-mode, grep-mode, occur-mode, and diff-mode (i.e. all the
+modes that can use `next-error').  In this mode, cursor motion in the
+buffer causes automatic display in another window of the corresponding
+matches, compilation errors, etc.  This minor mode can be toggled with
+C-c C-f.
 
 ** M-x diff uses diff-mode instead of compilation-mode.
 
index 8fd27e78dac0e0a685361121a5dea6f6ed25c476..0ae0ccc7def6cea3fcef0e07f6bd1ea806742a09 100644 (file)
@@ -4,7 +4,7 @@
 
 2004-09-04  Dan Nicolaescu  <dann@ics.uci.edu>
 
-       * simple.el (next-error-follow-mode)
+       * simple.el (next-error-follow-minor-mode)
        (next-error-follow-mode-post-command-hook): New functions.
        (next-error-follow-last-line): New defvar.
 
index edf94cfd7d170fd8d1b292f3b9152314519626e6..32405153788caca6a319d2a6c15497025dc33561 100644 (file)
@@ -253,11 +253,11 @@ If `fringe-arrow', indicate the locus by the fringe arrow."
 ;;; Internal variable for `next-error-follow-mode-post-command-hook'.
 (defvar next-error-follow-last-line nil)
 
-(define-minor-mode next-error-follow-mode
+(define-minor-mode next-error-follow-minor-mode
   "Minor mode for compilation, occur and diff modes.
-When turned on, cursor motion in the compilation, occur or diff
-buffer determines the cursor in the corresponding buffer to move
-to the corresponding position.  "
+When turned on, cursor motion in the compilation, grep, occur or diff
+buffer causes automatic display of the corresponding source code
+location."
   nil " Fol" nil
   (if (not next-error-follow-mode)
       (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t)