summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
diff options
context:
space:
mode:
authorEric Abrahamsen <eric@ericabrahamsen.net>2017-12-28 18:14:47 -0800
committerEric Abrahamsen <eric@ericabrahamsen.net>2018-03-22 10:46:08 +0800
commitf0cf4dc62918a5acd2c6bbade78909cfa73ca9c8 (patch)
treebf38688abd9a56e8acc6e6eb3d19e9d77ab3951d /test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el
parent40ad1ff327616721ce060ea774631b54e3ba26ca (diff)
downloademacs-f0cf4dc62918a5acd2c6bbade78909cfa73ca9c8.tar.gz
emacs-f0cf4dc62918a5acd2c6bbade78909cfa73ca9c8.tar.bz2
emacs-f0cf4dc62918a5acd2c6bbade78909cfa73ca9c8.zip
Let eieio-persistent-read read what object-write has written
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-validate/fix-slot-value): `object-write' may quote lists inside hash tables and vectors, so unquote those lists here. This patch allows the eieio-persistent write/restore process to perform a clean round trip. It only handles a very specific and limited range of object structures, but at least the write and read procedures match.
Diffstat (limited to 'test/lisp/emacs-lisp/eieio-tests/eieio-test-persist.el')
0 files changed, 0 insertions, 0 deletions