aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorEric Abrahamsen2017-10-22 07:59:29 -0700
committerEric Abrahamsen2017-11-08 09:28:07 -0800
commita215be999454b8f0118141d4e4f6cf58298f79e0 (patch)
tree3992f34c1e253611ebd3bb343ab3207fad061aee /lisp
parent255ba01148f69f452937e67feb7af5d4c1466fed (diff)
downloademacs-a215be999454b8f0118141d4e4f6cf58298f79e0.tar.gz
emacs-a215be999454b8f0118141d4e4f6cf58298f79e0.zip
Handle object string name in eieio-persistent-convert-list-object
* lisp/emacs-lisp/eieio-base.el (eieio-persistent-convert-list-to-object): Starting to phase out the printing of object names in `object-write', handle either case.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/eieio-base.el7
1 files changed, 5 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/eieio-base.el b/lisp/emacs-lisp/eieio-base.el
index e3501be6c1d..e718bdf21f4 100644
--- a/lisp/emacs-lisp/eieio-base.el
+++ b/lisp/emacs-lisp/eieio-base.el
@@ -256,8 +256,11 @@ malicious code.
256Note: This function recurses when a slot of :type of some object is 256Note: This function recurses when a slot of :type of some object is
257identified, and needing more object creation." 257identified, and needing more object creation."
258 (let* ((objclass (nth 0 inputlist)) 258 (let* ((objclass (nth 0 inputlist))
259 ;; (objname (nth 1 inputlist)) 259 ;; Earlier versions of `object-write' added a string name for
260 (slots (nthcdr 2 inputlist)) 260 ;; the object, now obsolete.
261 (slots (nthcdr
262 (if (stringp (nth 1 inputlist) 2 1)
263 inputlist)))
261 (createslots nil) 264 (createslots nil)
262 (class 265 (class
263 (progn 266 (progn