Function: consult-recent-file
consult-recent-file is an autoloaded, interactive and byte-compiled
function defined in consult.el.
Signature
(consult-recent-file)
Documentation
Find recent file using completing-read.
Key Bindings
Source Code
;; Defined in ~/.emacs.d/elpa/consult-20260805.1130/consult.el
;;;###autoload
(defun consult-recent-file ()
"Find recent file using `completing-read'."
(interactive)
(find-file
(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-preview)
:history 'file-name-history)))