Function: consult-recent-file

consult-recent-file is an interactive and natively compiled function defined in consult.el.

Signature

(consult-recent-file)

Documentation

Find recent file using completing-read.

Key Bindings

This command is not in any keymaps.

Source Code

;; Defined in /nix/store/6higv2v1wk916v4ynnybyrdkfy2gq44d-emacs-packages-deps/share/emacs/site-lisp/elpa/consult-20261004.957/consult.el
;;;###autoload
(defun consult-recent-file ()
  "Find recent file using `completing-read'."
  (interactive)
  (consult--read
   (or
    (mapcar #'consult--fast-abbreviate-file-name (bound-and-true-p recentf-list))
    (user-error "No recent files, `recentf-mode' is %s"
                (if recentf-mode "enabled" "disabled")))
   :prompt "Find recent file: "
   :sort nil
   :require-match t
   :category 'file
   :state (consult--file-state)
   :history 'file-name-history))