diff options
| author | Lars Magne Ingebrigtsen | 2015-01-10 17:26:37 +0100 |
|---|---|---|
| committer | Lars Magne Ingebrigtsen | 2015-01-10 17:26:37 +0100 |
| commit | afaa7c183bd069d740d0de6e61c0804ec9e47b20 (patch) | |
| tree | ac9ff3d7d2a649cce3bf1c04e5ec8bf67636475b | |
| parent | 1fd00738641f54cef63a4bdc389e8eaf94643577 (diff) | |
| download | emacs-afaa7c183bd069d740d0de6e61c0804ec9e47b20.tar.gz emacs-afaa7c183bd069d740d0de6e61c0804ec9e47b20.zip | |
eww title cleanup when loading
(eww): Clear the title when loading so that we don't display
misleading information.
| -rw-r--r-- | lisp/ChangeLog | 2 | ||||
| -rw-r--r-- | lisp/net/eww.el | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ac0701f8619..6c67f4ea600 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -5,6 +5,8 @@ | |||
| 5 | (eww): Also interpret things like "en.wikipedia.org/wiki/Free | 5 | (eww): Also interpret things like "en.wikipedia.org/wiki/Free |
| 6 | software" as an URL. | 6 | software" as an URL. |
| 7 | (eww): Don't interpret "org/foo" as an URL. | 7 | (eww): Don't interpret "org/foo" as an URL. |
| 8 | (eww): Clear the title when loading so that we don't display | ||
| 9 | misleading information. | ||
| 8 | 10 | ||
| 9 | 2015-01-10 Daniel Colascione <dancol@dancol.org> | 11 | 2015-01-10 Daniel Colascione <dancol@dancol.org> |
| 10 | 12 | ||
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'." | |||
| 277 | (eww-save-history)) | 277 | (eww-save-history)) |
| 278 | (eww-setup-buffer) | 278 | (eww-setup-buffer) |
| 279 | (plist-put eww-data :url url) | 279 | (plist-put eww-data :url url) |
| 280 | (plist-put eww-data :title "") | ||
| 280 | (eww-update-header-line-format) | 281 | (eww-update-header-line-format) |
| 281 | (let ((inhibit-read-only t)) | 282 | (let ((inhibit-read-only t)) |
| 282 | (insert (format "Loading %s..." url)) | 283 | (insert (format "Loading %s..." url)) |