The file-link Widget
Syntax:
bash
type ::= (file-link [keyword argument]... file)A widget to represent a link to a file. Its super is the link widget.
It overrides the :action property, to a function to find the file file.
Example:
emacs-lisp
(let ((elisp-files (directory-files user-emacs-directory t ".el$")))
(dolist (file elisp-files)
(widget-create 'file-link
:button-prefix ""
:button-suffix ""
file)
(widget-insert "\n")))