From: Eli Zaretskii Date: Mon, 6 Sep 2004 18:51:57 +0000 (+0000) Subject: (next-error-follow-minor-mode): Fix last change. X-Git-Tag: ttn-vms-21-2-B4~5057 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8a98a6c2fe48e2ecbb14fafcddfa66259ce6284d;p=emacs.git (next-error-follow-minor-mode): Fix last change. --- 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)))