Function: thing-at-point-file-at-point
thing-at-point-file-at-point is a byte-compiled function defined in
thingatpt.el.gz.
Signature
(thing-at-point-file-at-point &optional LAX BOUNDS)
Documentation
Return the name of the existing file at point.
Source Code
;; Defined in /usr/src/emacs/lisp/thingatpt.el.gz
;; Files
(defun thing-at-point-file-at-point (&optional _lax _bounds)
"Return the name of the existing file at point."
(when-let ((filename (thing-at-point 'filename)))
(setq filename (expand-file-name filename))
(and (file-exists-p filename)
filename)))