Restore the old behavior of `bookmark-write-file'
* lisp/bookmark.el (bookmark-write-file): Use 'pp-28' to avoid filling the bookmarks. (Bug#75775) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
062da7003f
commit
67903f5909
1 changed files with 2 additions and 1 deletions
|
@ -1678,7 +1678,8 @@ for a file, defaulting to the file defined by variable
|
|||
;; Rather than a single call to `pp' we make one per bookmark.
|
||||
;; Apparently `pp' has a poor algorithmic complexity, so this
|
||||
;; scales a lot better. bug#4485.
|
||||
(dolist (i bookmark-alist) (pp i (current-buffer)))
|
||||
(let ((pp-default-function #'pp-28))
|
||||
(dolist (i bookmark-alist) (pp i (current-buffer))))
|
||||
(insert ")\n")
|
||||
;; Make sure the specified encoding can safely encode the
|
||||
;; bookmarks. If it cannot, suggest utf-8-emacs as default.
|
||||
|
|
Loading…
Add table
Reference in a new issue