aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/net
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/net')
-rw-r--r--lisp/net/eww.el6
1 files changed, 2 insertions, 4 deletions
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."