emacs-devel
[Top][All Lists]
Advanced

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

[PATCH] Use regexp types in defcustom where appropriate


From: Mattias Engdegård
Subject: [PATCH] Use regexp types in defcustom where appropriate
Date: Sat, 21 Dec 2019 19:44:38 +0100

This clean-up patch uses the type 'regexp' instead of 'string' in defcustom 
forms where the value actually is a regexp. Instances were found by means of an 
ad-hoc script.

Using the 'regexp' type gives better error checking (syntax errors are caught 
by the customisation machinery). It also allows for extending the system to use 
alternative regexp syntaxes, like rx, in the future.

Eli, is this acceptable for master now or should it wait until after the branch 
has been made?

Attachment: 0001-Use-regexp-type-for-regexps-in-defcustom-declaration.patch
Description: Binary data


reply via email to

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