Subject: 29.0.50; Issue with `or' clause of buffer-match-p

From: Augusto Stoffel <[email-masked]>
Date: Wed, 31 Aug 2022 14:02:46 +0200

This buffer-match-p condition does the expected job:

     (buffer-match-p '(or "\\*" (derived-mode . special-mode))
                     (current-buffer))

But this presumably equivalent one gives a “(wrong-type-argument listp
special-mode)” error:

     (buffer-match-p '(or (and "\\*")
                          (derived-mode . special-mode))
                     (current-buffer))