From 271c03d89f3b1f67b44a46ee43447e25f5eef1a8 Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 29 Mar 2022 14:34:38 +0200 Subject: [PATCH] Fix eww bookmark writing * lisp/net/eww.el (eww-write-bookmarks): Ensure that the complete bookmarks are written (bug#54612). --- lisp/net/eww.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lisp/net/eww.el b/lisp/net/eww.el index 700a6c3e82f..75dc679a3dd 100644 --- a/lisp/net/eww.el +++ b/lisp/net/eww.el @@ -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'. -- 2.39.2