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:
|
||||
|
||||
(\"\\\\=`bar/\" \"\")"
|
||||
:type '(repeat (list regexp (choice (const :tag "No replacement" nil)
|
||||
string)))
|
||||
:type '(repeat (list (regexp :tag "Filename that matches")
|
||||
(radio :tag "Action"
|
||||
(const :tag "Do not consider as error" nil)
|
||||
(string :tag "Replace matched filename with"))))
|
||||
:version "27.1")
|
||||
|
||||
(defvar compilation-filter-hook nil
|
||||
|
|
Loading…
Add table
Reference in a new issue