[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 09f905c80b: ; * lisp/window.el (display-buffer-assq-regexp): Doc
From: |
Eli Zaretskii |
Subject: |
master 09f905c80b: ; * lisp/window.el (display-buffer-assq-regexp): Doc fix. |
Date: |
Sat, 16 Apr 2022 04:42:13 -0400 (EDT) |
branch: master
commit 09f905c80b1b678152ed966a4a78edc07775aa00
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/window.el (display-buffer-assq-regexp): Doc fix.
---
lisp/window.el | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
diff --git a/lisp/window.el b/lisp/window.el
index ea90995541..f3a09ee462 100644
--- a/lisp/window.el
+++ b/lisp/window.el
@@ -7496,10 +7496,11 @@ all fail. It should never be set by programs or users.
See
(put 'display-buffer-fallback-action 'risky-local-variable t)
(defun display-buffer-assq-regexp (buffer-or-name alist action)
- "Retrieve ALIST entry corresponding to BUFFER-NAME.
-This returns the cdr of the alist entry ALIST if key and
-buffer-or-name satisfy `buffer-match-p'. ACTION should have the
-form of the action argument passed to `display-buffer'."
+ "Retrieve ALIST entry corresponding to buffer specified by BUFFER-OR-NAME.
+This returns the cdr of the alist entry ALIST if the entry's
+key (its car) and BUFFER-OR-NAME satisfy `buffer-match-p', using
+the key as CONDITION argument of `buffer-match-p'. ACTION should
+have the form of the action argument passed to `display-buffer'."
(catch 'match
(dolist (entry alist)
(when (buffer-match-p (car entry) buffer-or-name action)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- master 09f905c80b: ; * lisp/window.el (display-buffer-assq-regexp): Doc fix.,
Eli Zaretskii <=