From: Lars Magne Ingebrigtsen Date: Sun, 1 Dec 2013 14:22:03 +0000 (+0100) Subject: Special mode buffers shouldn't query before exiting. X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~608 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de8a5633bd862aa5f5eb265a3d9fa855df731bfa;p=emacs.git Special mode buffers shouldn't query before exiting. (eww-quit): Special mode buffers shouldn't query before exiting. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 6c2d57c8a79..4cb4a613d29 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -2,6 +2,7 @@ * net/eww.el (eww-follow-link): New command to avoid reloading pages when we follow #target links (bug#15243). + (eww-quit): Special mode buffers shouldn't query before exiting. 2013-12-01 Kenjiro NAKAYAMA diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 9a90ccd258b..9021c8f3b7e 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -418,10 +418,8 @@ word(s) will be searched for via `eww-search-prefix'." (defun eww-quit () "Exit the Emacs Web Wowser." (interactive) - (if (y-or-n-p "quit eww? ") - (progn - (setq eww-history nil) - (kill-buffer (current-buffer))))) + (setq eww-history nil) + (kill-buffer (current-buffer))) (defun eww-back-url () "Go to the previously displayed page."