]> 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>
Fri, 29 Dec 2017 02:14:47 +0000 (18:14 -0800)
commitbf4f34ac7de6abe9a0ec1cd248b6936f5e764077
tree80855f882620d07b449c1a1fc0977a71cf4080a3
parent1ea9947ca318979bac0cc6d54263faf3fb09d587
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