Function: term-dynamic-list-filename-completions
term-dynamic-list-filename-completions is an interactive and
byte-compiled function defined in term.el.gz.
Signature
(term-dynamic-list-filename-completions)
Documentation
List in help buffer possible completions of the filename at point.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/term.el.gz
(defun term-dynamic-list-filename-completions ()
"List in help buffer possible completions of the filename at point."
(interactive)
(let* ((completion-ignore-case nil)
(filename (or (term-match-partial-filename) ""))
(pathdir (file-name-directory filename))
(pathnondir (file-name-nondirectory filename))
(directory (if pathdir (term-directory pathdir) default-directory))
(completions (file-name-all-completions pathnondir directory)))
(if completions
(term-dynamic-list-completions completions)
(message "No completions of %s" filename))))