]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix eww bookmark writing
authorThomas Fitzsimmons <fitzsim@fitzsim.org>
Tue, 29 Mar 2022 12:34:38 +0000 (14:34 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Tue, 29 Mar 2022 12:35:31 +0000 (14:35 +0200)
* lisp/net/eww.el (eww-write-bookmarks): Ensure that the complete
bookmarks are written (bug#54612).

lisp/net/eww.el

index 700a6c3e82fb09d3bfab9e3df7701fd66a560bb6..75dc679a3ddce595de9fb866592f89074bf6c4e9 100644 (file)
@@ -2053,7 +2053,9 @@ If CHARSET is nil then use UTF-8."
 (defun eww-write-bookmarks ()
   (with-temp-file (expand-file-name "eww-bookmarks" eww-bookmarks-directory)
     (insert ";; Auto-generated file; don't edit -*- mode: lisp-data -*-\n")
-    (pp eww-bookmarks (current-buffer))))
+    (let ((print-length nil)
+          (print-level nil))
+      (pp eww-bookmarks (current-buffer)))))
 
 (defun eww-read-bookmarks (&optional error-out)
   "Read bookmarks from `eww-bookmarks'.