mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-04 11:23:24 +00:00
Add tags to 'compilation-transform-file-match-alist' custom type
* lisp/progmodes/compile.el (compilation-filter-start): Add some more meaningful tags, and switch to using 'radio' instead of 'choice'.
This commit is contained in:
parent
7c50e4cc8c
commit
df7f02a795
1 changed files with 4 additions and 2 deletions
|
@ -77,8 +77,10 @@ an entry matching \"\\\\=`\" and a replacement regexp of \"bar/\", i.e.:
|
||||||
Similarly, to remove a prefix \"bar/\", use:
|
Similarly, to remove a prefix \"bar/\", use:
|
||||||
|
|
||||||
(\"\\\\=`bar/\" \"\")"
|
(\"\\\\=`bar/\" \"\")"
|
||||||
:type '(repeat (list regexp (choice (const :tag "No replacement" nil)
|
:type '(repeat (list (regexp :tag "Filename that matches")
|
||||||
string)))
|
(radio :tag "Action"
|
||||||
|
(const :tag "Do not consider as error" nil)
|
||||||
|
(string :tag "Replace matched filename with"))))
|
||||||
:version "27.1")
|
:version "27.1")
|
||||||
|
|
||||||
(defvar compilation-filter-hook nil
|
(defvar compilation-filter-hook nil
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue