+2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
+
+ * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
+ 2013-12-11T19:01:44Z!tzz@lifelogs.com.
+
2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
* hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
(defvar eww-mode-map
(let ((map (make-sparse-keymap)))
(suppress-keymap map)
- (define-key map "q" 'eww-close)
- (define-key map "Q" 'eww-exit)
+ (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)
(easy-menu-define nil map ""
'("Eww"
- ["Exit" eww-exit t]
- ["Close browser" eww-close t]
+ ["Exit" eww-quit t]
+ ["Close browser" quit-window t]
["Reload" eww-reload t]
["Back to previous page" eww-back-url
:active (not (zerop (length eww-history)))]
;;(setq buffer-read-only t)
)
-(defun eww-exit ()
- "Exit the Emacs Web Wowser."
- (interactive)
- (setq eww-history nil)
- (kill-buffer (current-buffer)))
-
-(defun eww-close ()
- "Close the Emacs Web Wowser browser, leaving history intact."
- (interactive)
- (quit-window))
-
(defun eww-save-history ()
(push (list :url eww-current-url
:title eww-current-title