1. 22 Apr, 2014 1 commit
    • 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'.
  2. 21 Apr, 2014 2 commits
  3. 20 Apr, 2014 1 commit
  4. 23 Mar, 2014 2 commits
  5. 01 Jan, 2014 1 commit
  6. 11 Jul, 2013 1 commit
    • Glenn Morris's avatar
      Stop reimplementing a bunch of cl- functions in ert · a19b3c2d
      Glenn Morris authored
      * lisp/emacs-lisp/ert.el: Require cl-lib at runtime too.
      (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
      (ert--intersection, ert--set-difference, ert--set-difference-eq)
      (ert--union, ert--gensym-counter, ert--gensym-counter)
      (ert--coerce-to-vector, ert--remove*, ert--string-position)
      (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
      (ert-make-test-unbound, ert--expand-should-1)
      (ert--expand-should, ert--should-error-handle-error)
      (should-error, ert--explain-equal-rec)
      (ert--plist-difference-explanation, ert-select-tests)
      (ert--make-stats, ert--remove-from-list, ert--string-first-line):
      Use cl-lib functions rather than reimplementations.
      * test/automated/ert-tests.el: Require cl-lib at runtime too.
      (ert-test-special-operator-p): Use cl-gensym rather than ert-- version.
      (ert-test-remprop, ert-test-remove-if-not, ert-test-remove*)
      (ert-test-set-functions, ert-test-gensym)
      (ert-test-coerce-to-vector, ert-test-string-position)
      (ert-test-mismatch): Remove tests.
      * test/automated/cl-lib.el: New, split from ert-tests.el.