]> gitweb.factorcode.org Git - factor.git/commitdiff
FUEL: confirmation prompt for cleaning browsing history seem overkill
authorBjörn Lindqvist <bjourne@gmail.com>
Mon, 26 Jun 2017 12:51:11 +0000 (14:51 +0200)
committerBjörn Lindqvist <bjourne@gmail.com>
Mon, 26 Jun 2017 12:51:11 +0000 (14:51 +0200)
misc/fuel/fuel-help.el

index 5f4b38fef3d3577013de640a0d2b5a10d2c3ec98..7dc628d701e787a60f5099c1dd56a3ef85e28ca7 100644 (file)
@@ -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."