Function: recentf-track-opened-file
recentf-track-opened-file is a byte-compiled function defined in
recentf.el.gz.
Signature
(recentf-track-opened-file)
Documentation
Insert the name of the file just opened or written into the recent list.
Source Code
;; Defined in /usr/src/emacs/lisp/recentf.el.gz
;;; Hooks
;;
(defun recentf-track-opened-file ()
"Insert the name of the file just opened or written into the recent list."
(and buffer-file-name
(recentf-add-file buffer-file-name))
;; Must return nil because it is run from `write-file-functions'.
nil)