[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master a10eb16: Doc fixed for next-error-buffer-p
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master a10eb16: Doc fixed for next-error-buffer-p |
Date: |
Sat, 30 Apr 2016 00:03:40 +0000 |
branch: master
commit a10eb168cc96db9f0dab2d75550cbd8f08be2363
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Doc fixed for next-error-buffer-p
* lisp/simple.el (next-error-buffer-p): Clarify doc string
(bug#18202).
---
lisp/simple.el | 24 ++++++++++++------------
1 file changed, 12 insertions(+), 12 deletions(-)
diff --git a/lisp/simple.el b/lisp/simple.el
index cb4ddc6..849cbd6 100644
--- a/lisp/simple.el
+++ b/lisp/simple.el
@@ -145,18 +145,18 @@ nil means use goto-char using the second argument
position.")
&optional avoid-current
extra-test-inclusive
extra-test-exclusive)
- "Test if BUFFER is a `next-error' capable buffer.
-
-If AVOID-CURRENT is non-nil, treat the current buffer
-as an absolute last resort only.
-
-The function EXTRA-TEST-INCLUSIVE, if non-nil, is called in each buffer
-that normally would not qualify. If it returns t, the buffer
-in question is treated as usable.
-
-The function EXTRA-TEST-EXCLUSIVE, if non-nil, is called in each buffer
-that would normally be considered usable. If it returns nil,
-that buffer is rejected."
+ "Return non-nil if BUFFER is a `next-error' capable buffer.
+If AVOID-CURRENT is non-nil, and BUFFER is the current buffer,
+return nil.
+
+The function EXTRA-TEST-INCLUSIVE, if non-nil, is called if
+BUFFER would not normally qualify. If it returns non-nil, BUFFER
+is considered `next-error' capable, anyway, and the function
+returns non-nil.
+
+The function EXTRA-TEST-EXCLUSIVE, if non-nil, is called if the
+buffer would normally qualify. If it returns nil, BUFFER is
+rejected, and the function returns nil."
(and (buffer-name buffer) ;First make sure it's live.
(not (and avoid-current (eq buffer (current-buffer))))
(with-current-buffer buffer
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master a10eb16: Doc fixed for next-error-buffer-p,
Lars Ingebrigtsen <=