Commit 8cdba32b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(next-error-move-function): New variable.

parent 99910cf4
2009-08-13 Richard Stallman <rms@gnu.org>
* simple.el (next-error-move-function): New variable.
2009-08-12 Juri Linkov <juri@jurta.org>
* progmodes/grep.el (lgrep): Ensure that `default-directory' is
......
......@@ -183,9 +183,16 @@ of the errors before moving.
Major modes providing compile-like functionality should set this variable
to indicate to `next-error' that this is a candidate buffer and how
to navigate in it.")
(make-variable-buffer-local 'next-error-function)
(defvar next-error-move-function nil
"Function to use to move to an error locus.
It takes two arguments, a buffer position in the error buffer
and a buffer position in the error locus buffer.
The buffer for the error locus should already be current.
nil means use goto-char using the second argument position.")
(make-variable-buffer-local 'next-error-move-function)
(defsubst next-error-buffer-p (buffer
&optional avoid-current
extra-test-inclusive
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment