emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query be


From: Stefan Monnier
Subject: Re: [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before exiting.
Date: Sun, 01 Dec 2013 12:02:22 -0500
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)

> -  (if (y-or-n-p "quit eww? ")
> -      (progn
> -     (setq eww-history nil)
> -     (kill-buffer (current-buffer)))))
> +  (setq eww-history nil)
> +  (kill-buffer (current-buffer)))
 
Actually, I think killing a buffer without querying is ... "cavalier".
As I said elsewhere, eww should probably inherit from `special-mode'
which would bind `q' to quit-window, IIRC: this doesn't query either and
avoids the loss of information but not killing the buffer.


        Stefan



reply via email to

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