Function: recentf-edit-list-validate

recentf-edit-list-validate is an interactive and byte-compiled function defined in recentf.el.gz.

Signature

(recentf-edit-list-validate &rest IGNORE)

Documentation

Process the recent list when the edit list dialog is committed.

IGNORE arguments.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defun recentf-edit-list-validate (&rest _ignore)
  "Process the recent list when the edit list dialog is committed.
IGNORE arguments."
  (interactive nil recentf-dialog-mode)
  (if recentf-edit-list
      (let ((i 0))
        (dolist (e recentf-edit-list)
          (setq recentf-list (delq e recentf-list)
                i (1+ i)))
        (kill-buffer (current-buffer))
        (message "%S file(s) removed from the list" i))
    (message "No file selected")))