Function: recentf-load-list

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

Signature

(recentf-load-list)

Documentation

Load a previously saved recent list.

Read data from the file specified by recentf-save-file. When recentf-initialize-file-name-history is non-nil, initialize an empty file-name-history with the recent list.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defun recentf-load-list ()
  "Load a previously saved recent list.
Read data from the file specified by `recentf-save-file'.
When `recentf-initialize-file-name-history' is non-nil, initialize an
empty `file-name-history' with the recent list."
  (interactive)
  (let ((file (expand-file-name recentf-save-file))
        ;; We do not want Tramp asking for passwords.
        (non-essential t))
    (when (file-readable-p file)
      (let ((warning-inhibit-types '((files missing-lexbind-cookie))))
        (load-file file))
      (and recentf-initialize-file-name-history
           (not file-name-history)
           (setq file-name-history (mapcar #'abbreviate-file-name
                                           recentf-list))))))