eww: add command to view page source
authorTed Zlatanov <tzz@lifelogs.com>
Thu, 5 Dec 2013 16:04:53 +0000 (11:04 -0500)
committerTed Zlatanov <tzz@lifelogs.com>
Thu, 5 Dec 2013 16:04:53 +0000 (11:04 -0500)
commitff69c18f0ce65fab24d439b390d5215fcd89d0ae
tree434a94affdd5a129018da96077f0b7398c0175a1
parent543dd9697c601a27b95e15630c1311a503c0552d
eww: add command to view page source

* net/eww.el (eww-current-source): New variable to store page
source.
(eww-display-html, eww-mode, eww-save-history)
(eww-restore-history): Use it.
(eww-view-source): New command to view page source.
Opportunistically uses `html-mode' to highlight the buffer.
(eww-mode-map): Install it.
lisp/ChangeLog
lisp/net/eww.el