--- Begin Message ---
Subject: |
[PATCH] * subr.el (buffer-match-p): Add t as trivial a condition |
Date: |
Fri, 29 Jul 2022 12:01:32 +0000 |
Tags: patch
The proposed patch adds a simple condition to buffer-match-p, that had
previously either be expressed using an empty string (or any regular
expression that matches all words), an empty (and) or a symbol like
`always'. I think it would be intuitive to add t, especially when
considering new user options like `outline-minor-mode-use-buttons' being
added that indicate they should be used as boolean value.
In GNU Emacs 29.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.34, cairo
version 1.17.6)
of 2022-07-29 built on rhea
Repository revision: dedd05d2831d650b07cd9f0c639bdc8eb3bef1e4
Repository branch: master
System Description: Fedora Linux 36 (Workstation Edition)
Configured using:
'configure --with-pgtk --with-imagemagick 'CFLAGS=-march=native -O2
-pipe' LDFLAGS=-flto'
0001-subr.el-buffer-match-p-Add-t-as-trivial-a-condition.patch
Description: Text Data
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#56821: [PATCH] * subr.el (buffer-match-p): Add t as trivial a condition |
Date: |
Sat, 30 Jul 2022 10:43:22 +0000 |
Philip Kaludercic <philip.kaludercic@fau.de> writes:
> Lars Ingebrigtsen <larsi@gnus.org> writes:
>
>> Philip Kaludercic <philipk@posteo.net> writes:
>>
>>> The proposed patch adds a simple condition to buffer-match-p, that had
>>> previously either be expressed using an empty string (or any regular
>>> expression that matches all words), an empty (and) or a symbol like
>>> `always'. I think it would be intuitive to add t, especially when
>>> considering new user options like `outline-minor-mode-use-buttons' being
>>> added that indicate they should be used as boolean value.
>>
>> Makes sense to me.
>
> Ok, I would push the commit in that case.
Done.
--- End Message ---