Variable: file-name-at-point-functions

file-name-at-point-functions is a customizable variable defined in files.el.gz.

Value

(ffap-guess-file-name-at-point)

Documentation

List of functions to try in sequence to get a file name at point.

Each function should return either nil or a file name found at the location of point in the current buffer.

View in manual

Probably introduced at or before Emacs version 26.1.

Source Code

;; Defined in /usr/src/emacs/lisp/files.el.gz
;; FIXME: also add a hook for `(thing-at-point 'filename)'
(defcustom file-name-at-point-functions '(ffap-guess-file-name-at-point)
  "List of functions to try in sequence to get a file name at point.
Each function should return either nil or a file name found at the
location of point in the current buffer."
  :type '(hook :options (ffap-guess-file-name-at-point))
  :group 'find-file)