Mercurial > emacs
diff lisp/simple.el @ 56926:f8e248e9a717
Fix last change.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Sat, 04 Sep 2004 13:06:38 +0000 |
parents | 2e166bd5683b |
children | e57b96a4469e 8a6fd1c164cd |
line wrap: on
line diff
--- a/lisp/simple.el Sat Sep 04 12:57:38 2004 +0000 +++ b/lisp/simple.el Sat Sep 04 13:06:38 2004 +0000 @@ -253,11 +253,11 @@ ;;; Internal variable for `next-error-follow-mode-post-command-hook'. (defvar next-error-follow-last-line nil) -(define-minor-mode next-error-follow-mode +(define-minor-mode next-error-follow-minor-mode "Minor mode for compilation, occur and diff modes. -When turned on, cursor motion in the compilation, occur or diff -buffer determines the cursor in the corresponding buffer to move -to the corresponding position. " +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) (remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t)