recentf-dump-variable

recentf-dump-variable is a compiled Lisp function in `recentf.el'.

(recentf-dump-variable VARIABLE &optional LIMIT)

Insert a "(setq VARIABLE value)" in the current buffer.
When the value of VARIABLE is a list, optional argument LIMIT
specifies a maximum number of elements to insert. By default insert
the full list.