Commit afaa7c18 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen
Browse files

eww title cleanup when loading

(eww): Clear the title when loading so that we don't display
misleading information.
parent 1fd00738
...@@ -5,6 +5,8 @@ ...@@ -5,6 +5,8 @@
(eww): Also interpret things like "en.wikipedia.org/wiki/Free (eww): Also interpret things like "en.wikipedia.org/wiki/Free
software" as an URL. software" as an URL.
(eww): Don't interpret "org/foo" as an URL. (eww): Don't interpret "org/foo" as an URL.
(eww): Clear the title when loading so that we don't display
misleading information.
   
2015-01-10 Daniel Colascione <dancol@dancol.org> 2015-01-10 Daniel Colascione <dancol@dancol.org>
   
......
...@@ -277,6 +277,7 @@ word(s) will be searched for via `eww-search-prefix'." ...@@ -277,6 +277,7 @@ word(s) will be searched for via `eww-search-prefix'."
(eww-save-history)) (eww-save-history))
(eww-setup-buffer) (eww-setup-buffer)
(plist-put eww-data :url url) (plist-put eww-data :url url)
(plist-put eww-data :title "")
(eww-update-header-line-format) (eww-update-header-line-format)
(let ((inhibit-read-only t)) (let ((inhibit-read-only t))
(insert (format "Loading %s..." url)) (insert (format "Loading %s..." url))
......
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