* lisp/emacs-lisp/autoload.el (make-autoload): Add `cl-defmacro' to the

forms that define macros.

Fixes: debbugs:12593
This commit is contained in:
Stefan Monnier 2012-10-07 11:15:16 -04:00
parent 17917e7468
commit 13af0d109f
3 changed files with 10 additions and 8 deletions

View file

@ -153,7 +153,7 @@ expression, in which case we want to handle forms differently."
easy-mmode-define-minor-mode define-minor-mode
cl-defun defun* cl-defmacro defmacro*
define-overloadable-function))
(let* ((macrop (memq car '(defmacro defmacro*)))
(let* ((macrop (memq car '(defmacro cl-defmacro defmacro*)))
(name (nth 1 form))
(args (pcase car
((or `defun `defmacro