Function: recentf-edit-list-select

recentf-edit-list-select is a byte-compiled function defined in recentf.el.gz.

Signature

(recentf-edit-list-select WIDGET &rest IGNORE)

Documentation

Toggle a file selection based on the checkbox WIDGET state.

IGNORE other arguments.

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defun recentf-edit-list-select (widget &rest _ignore)
  "Toggle a file selection based on the checkbox WIDGET state.
IGNORE other arguments."
  (let ((value (widget-get widget :tag))
        (check (widget-value widget)))
    (if check
        (add-to-list 'recentf-edit-list value)
      (setq recentf-edit-list (delq value recentf-edit-list)))
    (message "%s %sselected" value (if check "" "un"))))