Function: ffap-guesser

ffap-guesser is a byte-compiled function defined in ffap.el.gz.

Signature

(ffap-guesser)

Documentation

Return file or URL or nil, guessed from text around point.

Source Code

;; Defined in /usr/src/emacs/lisp/ffap.el.gz
;;; Main Entrance (`find-file-at-point' == `ffap'):

(defun ffap-guesser ()
  "Return file or URL or nil, guessed from text around point."
  (or (and ffap-url-regexp
	   (ffap-fixup-url (or (ffap-url-at-point)
			       (ffap-gopher-at-point))))
      (ffap-file-at-point)		; may yield url!
      (ffap-fixup-email (thing-at-point 'email))
      (ffap-fixup-machine (ffap-machine-at-point))))