bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#56821: [PATCH] * subr.el (buffer-match-p): Add t as trivial a condit


From: Philip Kaludercic
Subject: bug#56821: [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'

Attachment: 0001-subr.el-buffer-match-p-Add-t-as-trivial-a-condition.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]