]> git.eshelyaron.com Git - emacs.git/commit
Show eww bookmarks buffer only if it's not empty
authorStefan Kangas <stefankangas@gmail.com>
Fri, 17 Jul 2020 01:23:15 +0000 (03:23 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Fri, 17 Jul 2020 01:23:15 +0000 (03:23 +0200)
commit3cf9176d9d0ec77ea9998833f97b3646129cce7b
treeb0e3af13a786df1d18cfa67498297bc7748d47f3
parent510da73b4a0ff77d27a208a4177ef21fcdbf766d
Show eww bookmarks buffer only if it's not empty

* lisp/net/eww.el (eww-list-bookmarks): Don't show buffer if there
are no bookmarks.  (Bug#41385)
(eww-bookmark-prepare): Move signalling an error if there are no
bookmarks from here...
(eww-read-bookmarks): ...to here.  Add new argument `error-out' to
control this.
(eww-next-bookmark, eww-previous-bookmark): Call
`eww-read-bookmarks'.
lisp/net/eww.el