Function: term-match-partial-filename

term-match-partial-filename is a byte-compiled function defined in term.el.gz.

Signature

(term-match-partial-filename)

Documentation

Return the filename at point, or nil if none is found.

Environment variables are substituted. See term-word.

Source Code

;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-match-partial-filename ()
  "Return the filename at point, or nil if none is found.
Environment variables are substituted.  See `term-word'."
  (let ((filename (term-word "~/A-Za-z0-9+@:_.$#,={}-")))
    (and filename (substitute-in-file-name filename))))