313 |
(if (not next-error-follow-minor-mode) |
(if (not next-error-follow-minor-mode) |
314 |
(remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t) |
(remove-hook 'post-command-hook 'next-error-follow-mode-post-command-hook t) |
315 |
(add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t) |
(add-hook 'post-command-hook 'next-error-follow-mode-post-command-hook nil t) |
316 |
(make-variable-buffer-local 'next-error-follow-last-line))) |
(make-local-variable 'next-error-follow-last-line))) |
317 |
|
|
318 |
;;; Used as a `post-command-hook' by `next-error-follow-mode' |
;;; Used as a `post-command-hook' by `next-error-follow-mode' |
319 |
;;; for the *Compilation* *grep* and *Occur* buffers. |
;;; for the *Compilation* *grep* and *Occur* buffers. |