Variable: compilation-search-extra-path

compilation-search-extra-path is a customizable variable defined in compile.el.gz.

Value

nil

Documentation

List of extra directories to search for source files named in error messages.

Elements in this list will be searched before those in compilation-search-path.

The buffer-local value of this variable will be inherited by the compilation buffer.

View in manual

Probably introduced at or before Emacs version 31.1.

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/compile.el.gz
;;;###autoload
(defcustom compilation-search-extra-path nil
  "List of extra directories to search for source files named in error messages.
Elements in this list will be searched before those in
`compilation-search-path'.

The buffer-local value of this variable will be inherited by the
compilation buffer."
  :type '(repeat (string :tag "Directory")))