• Stefan Monnier's avatar
    Further GV/CL cleanups. · 36cec983
    Stefan Monnier authored
    * lisp/emacs-lisp/gv.el (gv-get): Autoload functions to find their
    gv-expander.
    (gv--defun-declaration): New function.
    (defun-declarations-alist): Use it.
    (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
    (gv-place): Autoload.
    * lisp/emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
    original definition of dotimes and dolist.
    * lisp/emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
    (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
    * lisp/emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
    (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
    (cl-ninth, cl-tenth): Move gv handler to the function's definition.
    * lisp/emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
    to the function's definition.
    * lisp/Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
    * lisp/window.el:
    * lisp/files.el:
    * lisp/faces.el:
    * lisp/env.el: Don't use CL.
    36cec983
cl-lib.el 27.3 KB