changeset 57451:ffd927e57237

(recentf-edit-list): Update the menu when the recentf list has been modified.
author David Ponce <david@dponce.com>
date Tue, 12 Oct 2004 10:18:01 +0000
parents 7e2887ad4c51
children 9090c67583dd
files lisp/recentf.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/recentf.el	Tue Oct 12 09:55:20 2004 +0000
+++ b/lisp/recentf.el	Tue Oct 12 10:18:01 2004 +0000
@@ -1032,7 +1032,8 @@
                      (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 " ")