Function: embark-recentf-remove
embark-recentf-remove is an interactive and natively compiled function
defined in embark.el.
Signature
(embark-recentf-remove FILE)
Documentation
Remove FILE from the list of recent files.
Key Bindings
embark-file-map \
Source Code
;; Defined in /nix/store/lls066p88vbzffl5j0d16jbhwpn2zfz2-emacs-packages-deps/share/emacs/site-lisp/elpa/embark-20260610.302/embark.el
(defun embark-recentf-remove (file)
"Remove FILE from the list of recent files."
(interactive (list (embark--read-from-history
"Remove recent file: " recentf-list 'file)))
(embark-history-remove (expand-file-name file))
(embark-history-remove (abbreviate-file-name file))
(when (and (boundp 'recentf-list) (fboundp 'recentf-expand-file-name))
(setq recentf-list (delete (recentf-expand-file-name file) recentf-list))))