From 828621905948b2a56fa4424f599b8eab724be7d2 Mon Sep 17 00:00:00 2001 From: David Ponce Date: Tue, 12 Oct 2004 10:19:10 +0000 Subject: [PATCH] (recentf-edit-list): Update the menu when the recentf list has been modified. --- lisp/ChangeLog | 5 +++++ lisp/recentf.el | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) 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 " ") -- 2.39.5