aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorLars Magne Ingebrigtsen2013-12-01 15:22:03 +0100
committerLars Magne Ingebrigtsen2013-12-01 15:22:03 +0100
commitde8a5633bd862aa5f5eb265a3d9fa855df731bfa (patch)
treed398e3a017fe48ec8de96d43803df124fc7fd11f /lisp
parent513562a1df9b46c985b205c9c28e742605a41b6e (diff)
downloademacs-de8a5633bd862aa5f5eb265a3d9fa855df731bfa.tar.gz
emacs-de8a5633bd862aa5f5eb265a3d9fa855df731bfa.zip
Special mode buffers shouldn't query before exiting.
(eww-quit): Special mode buffers shouldn't query before exiting.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog1
-rw-r--r--lisp/net/eww.el6
2 files changed, 3 insertions, 4 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 6c2d57c8a79..4cb4a613d29 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * net/eww.el (eww-follow-link): New command to avoid reloading 3 * net/eww.el (eww-follow-link): New command to avoid reloading
4 pages when we follow #target links (bug#15243). 4 pages when we follow #target links (bug#15243).
5 (eww-quit): Special mode buffers shouldn't query before exiting.
5 6
62013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com> 72013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
7 8
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'."
418(defun eww-quit () 418(defun eww-quit ()
419 "Exit the Emacs Web Wowser." 419 "Exit the Emacs Web Wowser."
420 (interactive) 420 (interactive)
421 (if (y-or-n-p "quit eww? ") 421 (setq eww-history nil)
422 (progn 422 (kill-buffer (current-buffer)))
423 (setq eww-history nil)
424 (kill-buffer (current-buffer)))))
425 423
426(defun eww-back-url () 424(defun eww-back-url ()
427 "Go to the previously displayed page." 425 "Go to the previously displayed page."