unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Re: [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before exiting.
       [not found] <E1Vn7uQ-0001rn-HZ@vcs.savannah.gnu.org>
@ 2013-12-01 17:02 ` Stefan Monnier
  0 siblings, 0 replies; only message in thread
From: Stefan Monnier @ 2013-12-01 17:02 UTC (permalink / raw)
  To: Lars Magne Ingebrigtsen; +Cc: emacs-devel

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



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-12-01 17:02 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <E1Vn7uQ-0001rn-HZ@vcs.savannah.gnu.org>
2013-12-01 17:02 ` [Emacs-diffs] trunk r115327: Special mode buffers shouldn't query before exiting Stefan Monnier

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).