From afaa7c183bd069d740d0de6e61c0804ec9e47b20 Mon Sep 17 00:00:00 2001 From: Lars Magne Ingebrigtsen Date: Sat, 10 Jan 2015 17:26:37 +0100 Subject: [PATCH] eww title cleanup when loading (eww): Clear the title when loading so that we don't display misleading information. --- lisp/ChangeLog | 2 ++ lisp/net/eww.el | 1 + 2 files changed, 3 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ac0701f8619..6c67f4ea600 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -5,6 +5,8 @@ (eww): Also interpret things like "en.wikipedia.org/wiki/Free software" 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 diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 46b07605000..6a6da17d1ce 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -277,6 +277,7 @@ word(s) will be searched for via `eww-search-prefix'." (eww-save-history)) (eww-setup-buffer) (plist-put eww-data :url url) + (plist-put eww-data :title "") (eww-update-header-line-format) (let ((inhibit-read-only t)) (insert (format "Loading %s..." url)) -- 2.39.2