From 2a848209df79b717b4a309ec6e1b21d021519b16 Mon Sep 17 00:00:00 2001 From: Philip Kaludercic Date: Sun, 17 Apr 2022 14:03:33 +0200 Subject: [PATCH] ; * 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 d0b73db019f..9623ea63b55 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))) -- 2.39.2