(eww-quit): Special mode buffers shouldn't query before exiting.
* 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>
(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."