minibuffer

How to list files in a given directory in Emacs Lisp?

August 31, 2023
(directory-files-and-attributes ".")
(directory-files-and-attributes "." t)
(dolist (f (directory-files-and-attributes "./emacs/" t))
  (message (car f)))