diff --git a/lisp/subr.el b/lisp/subr.el index 2ffc594997..0350c16ccf 100644 --- a/lisp/subr.el +++ b/lisp/subr.el @@ -7014,8 +7014,8 @@ buffer-match-p (funcall match (cdr condition))) ((eq (car-safe condition) 'and) (catch 'fail - (dolist (c (cdr conditions)) - (unless (funcall match c) + (dolist (c (cdr condition)) + (unless (funcall match (list c)) (throw 'fail nil))) t))) (throw 'match t)))))))