From 81446d794848a88226150d520af7842a7ac0dd2d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B6rn=20Lindqvist?= Date: Mon, 26 Jun 2017 14:51:11 +0200 Subject: [PATCH] FUEL: confirmation prompt for cleaning browsing history seem overkill --- misc/fuel/fuel-help.el | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/misc/fuel/fuel-help.el b/misc/fuel/fuel-help.el index 5f4b38fef3..7dc628d701 100644 --- a/misc/fuel/fuel-help.el +++ b/misc/fuel/fuel-help.el @@ -297,11 +297,10 @@ With prefix, the current page is deleted from history." (defun fuel-help-clean-history () "Clean up the help browser cache of visited pages." (interactive) - (when (y-or-n-p "Clean browsing history? ") - (fuel-help--cache-clear) - (setq fuel-help--history (fuel-help--make-history)) - (fuel-help-refresh)) - (message "")) + (fuel-help--cache-clear) + (setq fuel-help--history (fuel-help--make-history)) + (fuel-help-refresh) + (message "Browsing history cleaned")) (defun fuel-help-edit () "Edit the current article or word help."