aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el2
1 files changed, 1 insertions, 1 deletions
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
259buffer causes automatic display of the corresponding source code 259buffer causes automatic display of the corresponding source code
260location." 260location."
261 nil " Fol" nil 261 nil " Fol" nil
262 (if (not next-error-follow-mode) 262 (if (not next-error-follow-minor-mode)
263 (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t) 263 (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t)
264 (add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t) 264 (add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t)
265 (make-variable-buffer-local 'next-error-follow-last-line))) 265 (make-variable-buffer-local 'next-error-follow-last-line)))