]> 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)
committerAndrew G Cohen <cohen@andy.bu.edu>
Tue, 11 Dec 2018 06:17:57 +0000 (14:17 +0800)
commit9d4baa3de68bd2125b84f2e51be36bf9f87c5188
tree850378ea9f14dbd6616c083011e23879b3ec215d
parentb4377a34330b3fa5d1ff3762d4277c8bd4f2ca11
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