bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Kenjiro NAKAYAMA
Subject: bug#16280: 24.3.50; [PATCH] eww: Add new function to clean browser histories.
Date: Sun, 05 Jan 2014 20:07:41 +0900
User-agent: mu4e 0.9.9.6pre2; emacs 24.3.50.3

> 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.

Yes, that's right. I agree with you.
This function is not necessary.

Kenjiro

address@hidden writes:

> Kenjiro NAKAYAMA <address@hidden> 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.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]