Variable: compilation-transform-file-match-alist
compilation-transform-file-match-alist is a customizable variable
defined in compile.el.gz.
Value
(("/bin/[a-z]*sh\\'" nil))
Documentation
Alist of regexp/replacements to alter file names in compilation errors.
If the replacement is nil, the file will not be considered an error after all. If not nil, it should be a regexp replacement string.
This variable was added, or its default value changed, in Emacs 27.1.
Probably introduced at or before Emacs version 27.1.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defcustom compilation-transform-file-match-alist
'(("/bin/[a-z]*sh\\'" nil))
"Alist of regexp/replacements to alter file names in compilation errors.
If the replacement is nil, the file will not be considered an
error after all. If not nil, it should be a regexp replacement
string."
:type '(repeat (list regexp (choice (const :tag "No replacement" nil)
string)))
:version "27.1")