summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog4
-rw-r--r--lisp/simple.el2
2 files changed, 5 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index dbc91232333..641f08870ac 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,7 @@
+2004-09-06 Eli Zaretskii <eliz@gnu.org>
+
+ * simple.el (next-error-follow-minor-mode): Fix last change.
+
2004-09-05 Luc Teirlinck <teirllm@auburn.edu>
* textmodes/paragraphs.el (use-hard-newlines): Make it into a
diff --git a/lisp/simple.el b/lisp/simple.el
index 32405153788..75d2cef8499 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -259,7 +259,7 @@ 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)
+ (if (not next-error-follow-minor-mode)
(remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t)
(add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t)
(make-variable-buffer-local 'next-error-follow-last-line)))