aboutsummaryrefslogtreecommitdiff
path: root/compat-29.el
diff options
context:
space:
mode:
authorDaniel Mendler <mail@daniel-mendler.de>2023-01-16 15:25:29 +0100
committerDaniel Mendler <mail@daniel-mendler.de>2023-01-16 15:26:03 +0100
commit04666aacc7e5d435be5359066e2bdc82b8e88eef (patch)
tree52e0e0ffcaa051a5460388c79338837a42e27e86 /compat-29.el
parent009e33bbc9084c63ad3e81b778855025826a0845 (diff)
Add tests for match-buffers and buffer-match-p
Diffstat (limited to 'compat-29.el')
-rw-r--r--compat-29.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/compat-29.el b/compat-29.el
index f8a6630..86ea558 100644
--- a/compat-29.el
+++ b/compat-29.el
@@ -189,7 +189,7 @@ signalled. If NOERROR, the non-loop parts of the chain is returned."
(push func chain))
chain))))
-(compat-defun buffer-match-p (condition buffer-or-name &optional arg) ;; <UNTESTED>
+(compat-defun buffer-match-p (condition buffer-or-name &optional arg) ;; <compat-tests:buffer-match-p>
"Return non-nil if BUFFER-OR-NAME matches CONDITION.
CONDITION is either:
- the symbol t, to always match,
@@ -245,7 +245,7 @@ CONDITION is either:
(throw 'match t)))))))
(funcall match (list condition))))
-(compat-defun match-buffers (condition &optional buffers arg) ;; <UNTESTED>
+(compat-defun match-buffers (condition &optional buffers arg) ;; <compat-tests:match-buffers>
"Return a list of buffers that match CONDITION.
See `buffer-match' for details on CONDITION. By default all
buffers are checked, this can be restricted by passing an