[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master 2a848209df 2/2: ; * subr.el (buffer-match-p): Ensure that (and) i
From: |
Philip Kaludercic |
Subject: |
master 2a848209df 2/2: ; * subr.el (buffer-match-p): Ensure that (and) is always satisfied |
Date: |
Sun, 17 Apr 2022 08:05:33 -0400 (EDT) |
branch: master
commit 2a848209df79b717b4a309ec6e1b21d021519b16
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
; * subr.el (buffer-match-p): Ensure that (and) is always satisfied
---
lisp/subr.el | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index d0b73db019..9623ea63b5 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -6690,7 +6690,7 @@ CONDITION is either:
(funcall match (cdr condition)))
((eq (car-safe condition) 'and)
(catch 'fail
- (dolist (c conditions)
+ (dolist (c (cdr conditions))
(unless (funcall match c)
(throw 'fail nil)))
t)))