Function: ff-treat-as-special
ff-treat-as-special is a byte-compiled function defined in
find-file.el.gz.
Signature
(ff-treat-as-special)
Documentation
Return the file to look for if the construct was special, else nil.
See variable ff-special-constructs.
Source Code
;; Defined in /usr/src/emacs/lisp/find-file.el.gz
(defun ff-treat-as-special ()
"Return the file to look for if the construct was special, else nil.
See variable `ff-special-constructs'."
(save-excursion
(beginning-of-line 1)
(let* (fname
(list ff-special-constructs)
(elem (car list))
(regexp (car elem))
(match (cdr elem)))
(while (and list (not fname))
(if (and (looking-at regexp) match)
(setq fname (funcall match)))
(setq list (cdr list))
(setq elem (car list))
(setq regexp (car elem))
(setq match (cdr elem)))
fname)))