[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#58951: [PATCH] ; Fix handling of 'not' by 'buffer-match-p'
From: |
Eli Zaretskii |
Subject: |
bug#58951: [PATCH] ; Fix handling of 'not' by 'buffer-match-p' |
Date: |
Sat, 31 Dec 2022 18:34:15 +0200 |
> Cc: 58951@debbugs.gnu.org
> From: Mattias EngdegÄrd <mattiase@acm.org>
> Date: Sat, 31 Dec 2022 17:26:02 +0100
>
> > (not . CONDITION)
> >
> > while it is more natural to write
> >
> > (not CONDITION)
>
> Shouldn't then the `derived-mode` and `major-mode` operators be changed in
> the same way?
In fact, that change cause errors in timer function of
show-paren-mode, so I've reverted it for now.
> And shouldn't there be tests? For all of `buffer-match-p`, in fact?
Ideally, yes.