Commit 23a75d7f authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

(eww-mode-map): Add a menu bar.

parent 843571cb
...@@ -2,6 +2,7 @@ ...@@ -2,6 +2,7 @@
* net/eww.el (eww-mode): Undo isn't necessary in eww buffers, * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
probably. probably.
(eww-mode-map): Add a menu bar.
2013-06-26 Glenn Morris <rgm@gnu.org> 2013-06-26 Glenn Morris <rgm@gnu.org>
......
...@@ -335,6 +335,20 @@ word(s) will be searched for via `eww-search-prefix'." ...@@ -335,6 +335,20 @@ word(s) will be searched for via `eww-search-prefix'."
(define-key map "&" 'eww-browse-with-external-browser) (define-key map "&" 'eww-browse-with-external-browser)
(define-key map "d" 'eww-download) (define-key map "d" 'eww-download)
(define-key map "w" 'eww-copy-page-url) (define-key map "w" 'eww-copy-page-url)
(define-key map "C" 'url-cookie-list)
(easy-menu-define nil map ""
'("eww"
["Quit" eww-quit t]
["Reload" eww-reload t]
["Back to previous page" eww-back-url
:active (not (zerop (length eww-history)))]
["Forward to next page" eww-forward-url
:active (not (zerop eww-history-position))]
["Browse with external browser" eww-browse-with-external-browser t]
["Download" eww-download t]
["Copy page URL" eww-copy-page-url t]
["List cookies" url-cookie-list t]))
map)) map))
(define-derived-mode eww-mode nil "eww" (define-derived-mode eww-mode nil "eww"
......
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