Subject: Re: bug#12593: 24.2.50; Autoload (or define-ibuffer-filter?) does not work in eproject
From: Stefan Monnier <[email-masked]>
To: Takafumi Arakaki <[email-masked]>
Cc: [email-masked]
Date: Sun, 07 Oct 2012 11:15:33 -0400
List-Id: <debbugs-submit.debbugs.gnu.org>

> $ emacs -Q -L . -batch -f batch-byte-compile *.el
> ... many warnings ...

These warnings were the important starting point to find the culprit.

I believe I've fixed the underlying problem with the patch below, thank
you very much.  Please try again with a fully-rebuilt Emacs (you
probably need to "make bootstrap" for the fix to be effective).

        Stefan

--- lisp/emacs-lisp/autoload.el	2012-08-11 02:12:12 +0000
+++ lisp/emacs-lisp/autoload.el	2012-10-07 15:11:40 +0000
@@ -153,7 +153,7 @@
 		   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