• Daniel Colascione's avatar
    Optimize cl-struct-slot-value; fix test · 66fda794
    Daniel Colascione authored
    2014-04-22  Daniel Colascione  <dancol@dancol.org>
    
    	* emacs-lisp/cl-macs.el
    	(cl-struct-sequence-type,cl-struct-slot-info): Declare pure.
    	(cl-struct-slot-value): Conditionally use aref or nth so that the
    	compiler produces optimal code.
    
    2014-04-22  Daniel Colascione  <dancol@dancol.org>
    
    	* automated/cl-lib.el (cl-lib-struct-accessors): Fix test to
    	account for removal of `cl-struct-set-slot-value'.
    66fda794
cl-lib.el 8.92 KB