mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-22 07:09:54 +00:00
* lisp/savehist.el (savehist-save): Preserve shared structure
This avoids ballooning the size of variables that contain large text properties, such as the 'yank-handler' installed by 'evil-yank-rectangle', which contains a list of lines in the string. * lisp/savehist.el (savehist-save): Enable 'print-circle'. (Bug#62364) Copyright-paperwork-exempt: yes
This commit is contained in:
parent
08fbc13375
commit
90fc6b987a
@ -232,8 +232,9 @@ If AUTO-SAVE is non-nil, compare the saved contents to the one last saved,
|
||||
savehist-coding-system))
|
||||
(run-hooks 'savehist-save-hook)
|
||||
(let ((print-length nil)
|
||||
(print-level nil)
|
||||
(print-quoted t))
|
||||
(print-level nil)
|
||||
(print-quoted t)
|
||||
(print-circle t))
|
||||
;; Save the minibuffer histories, along with the value of
|
||||
;; savehist-minibuffer-history-variables itself.
|
||||
(when savehist-save-minibuffer-history
|
||||
|
Loading…
Reference in New Issue
Block a user