]> git.eshelyaron.com Git - emacs.git/commit
* lisp/savehist.el (savehist-save): Preserve shared structure
authorAaron L. Zeng <azeng@janestreet.com>
Tue, 21 Mar 2023 20:07:54 +0000 (16:07 -0400)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Mar 2023 12:12:30 +0000 (15:12 +0300)
commit90fc6b987ad8f6531834906749be4d159fc1184f
treefb3c94dd9de1e7aa8d65648c10c957426ccdf98a
parent08fbc133756be38c02f04f64dbe0e2c9c1d0f228
* 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
lisp/savehist.el