Variable: compilation-parse-errors-filename-function

compilation-parse-errors-filename-function is a variable defined in compile.el.gz.

Value

identity

Documentation

Function to call to post-process filenames while parsing error messages.

It takes one arg FILENAME which is the name of a file as found in the compilation output, and should return a transformed file name or a buffer, the one which was compiled.

Probably introduced at or before Emacs version 21.2.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
(defvar compilation-parse-errors-filename-function #'identity
  "Function to call to post-process filenames while parsing error messages.
It takes one arg FILENAME which is the name of a file as found
in the compilation output, and should return a transformed file name
or a buffer, the one which was compiled.")