]> git.eshelyaron.com Git - emacs.git/commit
Let eieio-persistent-read read what object-write has written
authorEric Abrahamsen <eric@ericabrahamsen.net>
Fri, 29 Dec 2017 02:14:47 +0000 (18:14 -0800)
committerEric Abrahamsen <eric@ericabrahamsen.net>
Thu, 22 Mar 2018 02:46:08 +0000 (10:46 +0800)
commitf0cf4dc62918a5acd2c6bbade78909cfa73ca9c8
treebf38688abd9a56e8acc6e6eb3d19e9d77ab3951d
parent40ad1ff327616721ce060ea774631b54e3ba26ca
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.
lisp/emacs-lisp/eieio-base.el