From 8a98a6c2fe48e2ecbb14fafcddfa66259ce6284d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Mon, 6 Sep 2004 18:51:57 +0000 Subject: [PATCH] (next-error-follow-minor-mode): Fix last change. --- lisp/ChangeLog | 4 ++++ lisp/simple.el | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) 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 + + * simple.el (next-error-follow-minor-mode): Fix last change. + 2004-09-05 Luc Teirlinck * 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))) -- 2.39.2