aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/simple.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/simple.el')
-rw-r--r--lisp/simple.el9
1 files changed, 8 insertions, 1 deletions
diff --git a/lisp/simple.el b/lisp/simple.el
index ad8e71fc6b5..a01073c5d70 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -183,9 +183,16 @@ of the errors before moving.
183Major modes providing compile-like functionality should set this variable 183Major modes providing compile-like functionality should set this variable
184to indicate to `next-error' that this is a candidate buffer and how 184to indicate to `next-error' that this is a candidate buffer and how
185to navigate in it.") 185to navigate in it.")
186
187(make-variable-buffer-local 'next-error-function) 186(make-variable-buffer-local 'next-error-function)
188 187
188(defvar next-error-move-function nil
189 "Function to use to move to an error locus.
190It takes two arguments, a buffer position in the error buffer
191and a buffer position in the error locus buffer.
192The buffer for the error locus should already be current.
193nil means use goto-char using the second argument position.")
194(make-variable-buffer-local 'next-error-move-function)
195
189(defsubst next-error-buffer-p (buffer 196(defsubst next-error-buffer-p (buffer
190 &optional avoid-current 197 &optional avoid-current
191 extra-test-inclusive 198 extra-test-inclusive