Function: recentf-make-menu-element
recentf-make-menu-element is a byte-compiled function defined in
recentf.el.gz.
Signature
(recentf-make-menu-element MENU-ITEM MENU-VALUE)
Documentation
Create a new menu-element.
A menu element is a pair (MENU-ITEM . MENU-VALUE), where MENU-ITEM is the menu item string displayed. MENU-VALUE is the file to be open when the corresponding MENU-ITEM is selected. Or it is a pair (SUB-MENU-TITLE . MENU-ELEMENTS) where SUB-MENU-TITLE is a sub-menu title and MENU-ELEMENTS is the list of menu elements in the sub-menu.
Source Code
;; Defined in /usr/src/emacs/lisp/recentf.el.gz
(defsubst recentf-make-menu-element (menu-item menu-value)
"Create a new menu-element.
A menu element is a pair (MENU-ITEM . MENU-VALUE), where MENU-ITEM is
the menu item string displayed. MENU-VALUE is the file to be open
when the corresponding MENU-ITEM is selected. Or it is a
pair (SUB-MENU-TITLE . MENU-ELEMENTS) where SUB-MENU-TITLE is a
sub-menu title and MENU-ELEMENTS is the list of menu elements in the
sub-menu."
(cons menu-item menu-value))