Commit 1f6e1bb0 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

eww: Have `q' do a normal `quit-window' instead of killing the buffer.

parent fb651d15
2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
* net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
instead of killing the buffer.
2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
* simple.el (newline): Mention `electric-indent-mode' (bug#16015).
......
......@@ -378,7 +378,7 @@ word(s) will be searched for via `eww-search-prefix'."
(defvar eww-mode-map
(let ((map (make-sparse-keymap)))
(suppress-keymap map)
(define-key map "q" 'eww-quit)
(define-key map "q" 'quit-window)
(define-key map "g" 'eww-reload)
(define-key map [tab] 'shr-next-link)
(define-key map [backtab] 'shr-previous-link)
......@@ -447,12 +447,6 @@ word(s) will be searched for via `eww-search-prefix'."
(eww-save-history))
(eww url))
(defun eww-quit ()
"Exit the Emacs Web Wowser."
(interactive)
(setq eww-history nil)
(kill-buffer (current-buffer)))
(defun eww-back-url ()
"Go to the previously displayed page."
(interactive)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment