Function: treemacs-show-marked-files

treemacs-show-marked-files is an autoloaded, interactive and byte-compiled function defined in treemacs-file-management.el.

Signature

(treemacs-show-marked-files)

Documentation

Print a list of all files marked by treemacs.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-file-management.el
;;; Bulk Actions

;;;###autoload
(defun treemacs-show-marked-files ()
  "Print a list of all files marked by treemacs."
  (interactive)
  (let* ((len (length treemacs--marked-paths))
         (message
          (pcase len
           (0 "There are currently no marked files.")
           (1 (format "There is currently 1 marked file:\n%s"
                      (car treemacs--marked-paths)))
           (_ (format "There are currently %s marked files:\n%s"
                      len
                      (string-join treemacs--marked-paths "\n"))))))
    (treemacs-log message)))