]> code.delx.au - gnu-emacs/blobdiff - lisp/recentf.el
Add a provide statement.
[gnu-emacs] / lisp / recentf.el
index efe4ebc63a419b0deaa353b94c994099f74041ae..2fee8e637a819051b8d1480a97ef8559c49fd0b1 100644 (file)
@@ -98,7 +98,7 @@ Set VARIABLE with VALUE, and force a rebuild of the recentf menu."
   :type 'string
   :set 'recentf-menu-customization-changed)
 
-(defcustom recentf-menu-path '("files")
+(defcustom recentf-menu-path '("File")
   "*Path where to add the recentf menu.
 If nil add it at top level (see also `easy-menu-add-item')."
   :group 'recentf
@@ -1032,7 +1032,8 @@ Click on Cancel or type \"q\" to quit.\n")
                      (dolist (e recentf-edit-selected-items)
                        (setq recentf-list (delq e recentf-list)
                              i (1+ i)))
-                     (message "%S file(s) removed from the list" i))
+                     (message "%S file(s) removed from the list" i)
+                     (recentf-clear-data))
                  (message "No file selected")))
      "Ok")
     (widget-insert " ")