Special mode buffers shouldn't query before exiting.

(eww-quit): Special mode buffers shouldn't query before exiting.
This commit is contained in:
Lars Magne Ingebrigtsen
2013-12-01 15:22:03 +01:00
parent 513562a1df
commit de8a5633bd
2 changed files with 3 additions and 4 deletions

View File

@@ -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 <nakayamakenjiro@gmail.com>

View File

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