emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 282a681: Improve commentary in simple,el


From: Eli Zaretskii
Subject: [Emacs-diffs] master 282a681: Improve commentary in simple,el
Date: Sat, 3 Mar 2018 07:54:28 -0500 (EST)

branch: master
commit 282a68189a4721d6764126d435fc7cf57fad6440
Author: Eli Zaretskii <address@hidden>
Commit: Eli Zaretskii <address@hidden>

    Improve commentary in simple,el
    
    * lisp/simple.el (next-error-last-buffer): Improve commentary.
    (Bug#20489)
---
 lisp/simple.el | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/lisp/simple.el b/lisp/simple.el
index edcb73c..60a0028 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]