[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16280: 24.3.50; [PATCH] eww: Add new function to clean browser histo
From: |
Lars Magne Ingebrigtsen |
Subject: |
bug#16280: 24.3.50; [PATCH] eww: Add new function to clean browser histories. |
Date: |
Sun, 05 Jan 2014 10:32:58 +0100 |
User-agent: |
Gnus/5.130008 (Ma Gnus v0.8) Emacs/24.3.50 (gnu/linux) |
Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> writes:
> +(defun eww-history-cleanup ()
> + (interactive)
> + (if (y-or-n-p "clean up browser histories? ")
> + (progn
> + (setq-local eww-history nil)
> + (setq-local eww-history-position 0))))
I'm not sure this is useful. The history is only a local buffer
variable, isn't it? The normal way to make stuff "go away" in Emacs is
to kill the buffer, and that should do the trick for the history, too.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no