From: Eli Zaretskii Date: Sat, 3 Mar 2018 12:54:15 +0000 (+0200) Subject: Improve commentary in simple,el X-Git-Tag: archive/raspbian/1%29.2+1-2+rpi1^2~5^2~19^2~5953 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=282a68189a4721d6764126d435fc7cf57fad6440;p=emacs.git Improve commentary in simple,el * lisp/simple.el (next-error-last-buffer): Improve commentary. (Bug#20489) --- diff --git a/lisp/simple.el b/lisp/simple.el index edcb73ce2e1..60a00286f89 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -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