From: David Ponce Date: Tue, 12 Oct 2004 10:19:10 +0000 (+0000) Subject: (recentf-edit-list): Update the menu when the recentf X-Git-Tag: ttn-vms-21-2-B4~4612 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=828621905948b2a56fa4424f599b8eab724be7d2;p=emacs.git (recentf-edit-list): Update the menu when the recentf list has been modified. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 0fe85f0d221..dbc13ea927b 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2004-10-12 David Ponce + + * recentf.el (recentf-edit-list): Update the menu when the recentf + list has been modified. + 2004-10-12 Simon Josefsson * net/tls.el (tls-certtool-program): New variable. diff --git a/lisp/recentf.el b/lisp/recentf.el index efe4ebc63a4..4ef55d4e1bf 100644 --- a/lisp/recentf.el +++ b/lisp/recentf.el @@ -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 " ")