Commit 282a6818 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Improve commentary in simple,el

* lisp/simple.el (next-error-last-buffer): Improve commentary.
parent f9dfad93
......@@ -121,6 +121,11 @@ If non-nil, the value is passed directly to `recenter'."
A buffer becomes most recent when its compilation, grep, or
similar mode is started, or when it is used with \\[next-error]
or \\[compile-goto-error].")
;; next-error-last-buffer is made buffer-local to keep the reference
;; to the parent buffer used to navigate to the current buffer, so the
;; next call of next-buffer will use the same parent buffer to
;; continue navigation from it.
(make-variable-buffer-local 'next-error-last-buffer)
(defvar next-error-function nil
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