diff options
| author | Thomas Fitzsimmons | 2022-03-29 14:34:38 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-03-29 14:35:31 +0200 |
| commit | 271c03d89f3b1f67b44a46ee43447e25f5eef1a8 (patch) | |
| tree | c37227f3e5edc62f937ba698398363e4d3aee610 /lisp | |
| parent | 0e662f33e1a5b1c88fb3e0bf8be906c1937114d3 (diff) | |
| download | emacs-271c03d89f3b1f67b44a46ee43447e25f5eef1a8.tar.gz emacs-271c03d89f3b1f67b44a46ee43447e25f5eef1a8.zip | |
Fix eww bookmark writing
* lisp/net/eww.el (eww-write-bookmarks): Ensure that the complete
bookmarks are written (bug#54612).
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/eww.el | 4 |
1 files changed, 3 insertions, 1 deletions
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." | |||
| 2053 | (defun eww-write-bookmarks () | 2053 | (defun eww-write-bookmarks () |
| 2054 | (with-temp-file (expand-file-name "eww-bookmarks" eww-bookmarks-directory) | 2054 | (with-temp-file (expand-file-name "eww-bookmarks" eww-bookmarks-directory) |
| 2055 | (insert ";; Auto-generated file; don't edit -*- mode: lisp-data -*-\n") | 2055 | (insert ";; Auto-generated file; don't edit -*- mode: lisp-data -*-\n") |
| 2056 | (pp eww-bookmarks (current-buffer)))) | 2056 | (let ((print-length nil) |
| 2057 | (print-level nil)) | ||
| 2058 | (pp eww-bookmarks (current-buffer))))) | ||
| 2057 | 2059 | ||
| 2058 | (defun eww-read-bookmarks (&optional error-out) | 2060 | (defun eww-read-bookmarks (&optional error-out) |
| 2059 | "Read bookmarks from `eww-bookmarks'. | 2061 | "Read bookmarks from `eww-bookmarks'. |