Fix bookmark display widths

* lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
preparing it so that the widths are computed correctly (bug#22328).
This commit is contained in:
Lars Ingebrigtsen 2016-02-04 16:10:49 +11:00
parent d90ab1e221
commit 3311f4080b

View file

@ -1542,8 +1542,8 @@ If CHARSET is nil then use UTF-8."
(defun eww-list-bookmarks () (defun eww-list-bookmarks ()
"Display the bookmarks." "Display the bookmarks."
(interactive) (interactive)
(eww-bookmark-prepare) (pop-to-buffer "*eww bookmarks*")
(pop-to-buffer "*eww bookmarks*")) (eww-bookmark-prepare))
(defun eww-bookmark-prepare () (defun eww-bookmark-prepare ()
(eww-read-bookmarks) (eww-read-bookmarks)