diff lisp/simple.el @ 56943:e57b96a4469e

(next-error-follow-minor-mode): Fix last change.
author Eli Zaretskii <eliz@gnu.org>
date Mon, 06 Sep 2004 18:51:05 +0000
parents f8e248e9a717
children eadbbac38074 42acc7fa8a4f cce1c0ee76ee
line wrap: on
line diff
--- a/lisp/simple.el	Mon Sep 06 00:39:16 2004 +0000
+++ b/lisp/simple.el	Mon Sep 06 18:51:05 2004 +0000
@@ -259,7 +259,7 @@
 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)))