Variable: ff-special-constructs
ff-special-constructs is a customizable variable defined in
find-file.el.gz.
Value
(("^#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]"
. #[0 "\300\301!\207" [match-string 2] 2]))
Documentation
List of special constructs recognized by ff-treat-as-special.
Each element, tried in order, has the form (REGEXP . EXTRACT).
If REGEXP matches the current line (from the beginning of the line),
ff-treat-as-special calls function EXTRACT with no args.
If EXTRACT returns nil, keep trying. Otherwise, return the
filename that EXTRACT returned.
Source Code
;; Defined in /usr/src/emacs/lisp/find-file.el.gz
;;;###autoload
(defcustom ff-special-constructs
;; C/C++ include, for NeXTstep too
`((,(purecopy "^#\\s *\\(include\\|import\\)\\s +[<\"]\\(.*\\)[>\"]") .
,(lambda () (match-string 2))))
;; We include `ff-treat-as-special' documentation here so that autoload
;; can make it available to be read prior to loading this file.
"List of special constructs recognized by `ff-treat-as-special'.
Each element, tried in order, has the form (REGEXP . EXTRACT).
If REGEXP matches the current line (from the beginning of the line),
`ff-treat-as-special' calls function EXTRACT with no args.
If EXTRACT returns nil, keep trying. Otherwise, return the
filename that EXTRACT returned."
:type '(repeat (cons regexp function)))