]> code.delx.au - gnu-emacs/commitdiff
Fix bookmark display widths
authorLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2016 05:10:49 +0000 (16:10 +1100)
committerLars Ingebrigtsen <larsi@gnus.org>
Thu, 4 Feb 2016 05:10:49 +0000 (16:10 +1100)
* lisp/net/eww.el (eww-list-bookmarks): Pop to the buffer before
preparing it so that the widths are computed correctly (bug#22328).

lisp/net/eww.el

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