[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 07d6b3b577: buffer-match-p doc string clarification
From: |
Lars Ingebrigtsen |
Subject: |
master 07d6b3b577: buffer-match-p doc string clarification |
Date: |
Sat, 30 Jul 2022 07:16:25 -0400 (EDT) |
branch: master
commit 07d6b3b577239b1a240158db426397668da844a6
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
buffer-match-p doc string clarification
* lisp/subr.el (buffer-match-p): Actually say that nil is a valid
value.
---
lisp/subr.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 9f7cb3ab6a..c220a7f4a8 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6899,7 +6899,8 @@ lines."
(defun buffer-match-p (condition buffer-or-name &optional arg)
"Return non-nil if BUFFER-OR-NAME matches CONDITION.
CONDITION is either:
-- the symbol t, to always match
+- the symbol t, to always match,
+- the symbol nil, which never matches,
- a regular expression, to match a buffer name,
- a predicate function that takes a buffer object and ARG as
arguments, and returns non-nil if the buffer matches,
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 07d6b3b577: buffer-match-p doc string clarification,
Lars Ingebrigtsen <=