unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#57502: 29.0.50; Issue with `or' clause of buffer-match-p
@ 2022-08-31 12:02 Augusto Stoffel
  2022-08-31 12:47 ` Philip Kaludercic
  0 siblings, 1 reply; 10+ messages in thread
From: Augusto Stoffel @ 2022-08-31 12:02 UTC (permalink / raw)
  To: 57502

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))





^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2022-09-03 12:56 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-08-31 12:02 bug#57502: 29.0.50; Issue with `or' clause of buffer-match-p Augusto Stoffel
2022-08-31 12:47 ` Philip Kaludercic
2022-08-31 12:50   ` Philip Kaludercic
2022-08-31 16:22     ` Augusto Stoffel
2022-08-31 16:30       ` Philip Kaludercic
2022-09-03 11:04     ` Philip Kaludercic
2022-09-03 11:10       ` Eli Zaretskii
2022-09-03 11:19         ` Philip Kaludercic
2022-09-03 11:54           ` Lars Ingebrigtsen
2022-09-03 12:56             ` Philip Kaludercic

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).