* lisp/emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner.

* lisp/emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
(macroexp--expand-all): Use it.

Fixes: debbugs:11649
This commit is contained in:
Stefan Monnier 2012-06-14 23:18:14 -04:00
parent 2d7b84eab6
commit f38ea36d3d
3 changed files with 17 additions and 8 deletions

View file

@ -641,6 +641,9 @@ If ALIST is non-nil, the new pairs are prepended to it."
;;;###autoload
(progn
;; Make sure functions defined with cl-defsubst can be inlined even in
;; packages which do not require CL.
(autoload 'cl--defsubst-expand "cl-macs")
;; Autoload, so autoload.el and font-lock can use it even when CL
;; is not loaded.
(put 'cl-defun 'doc-string-elt 3)