diff options
author | Stefan Monnier <[email protected]> | 2012-06-14 23:18:14 -0400 |
---|---|---|
committer | Stefan Monnier <[email protected]> | 2012-06-14 23:18:14 -0400 |
commit | f38ea36d3d9415aeaf895ea7b439c41ee441c500 (patch) | |
tree | 3dfb3b74fea3209bc021999edf7f75dbfa1ae3d0 /lisp/emacs-lisp/cl-lib.el | |
parent | 2d7b84eab6a10752713af889f291c046eed33677 (diff) |
* 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
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
-rw-r--r-- | lisp/emacs-lisp/cl-lib.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el index 223067c600..bf7f6232ab 100644 --- a/lisp/emacs-lisp/cl-lib.el +++ b/lisp/emacs-lisp/cl-lib.el @@ -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) |