--- Begin Message ---
Subject: |
define-modify-macro: void function: cl--arglist-args |
Date: |
Wed, 06 May 2015 14:58:10 -0400 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Package: emacs
Version: 24.3
Byte-compiling the following works fine in Emacs 24.2, but in 24.3
and later it fails with:
foo.el:3:1:Error: Symbol's function definition is void: cl--arglist-args
;; foo.el:
(eval-when-compile (require 'cl))
(define-modify-macro foo (&optional (n 1)) +)
As warned by the compiler:
emacs-lisp/cl.el:724:1:Warning: the function `cl--arglist-args' is not
known to be defined.
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#20517: define-modify-macro: void function: cl--arglist-args |
Date: |
Wed, 06 May 2015 17:47:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.0.50 (gnu/linux) |
>> foo.el:3:1:Error: Symbol's function definition is void: cl--arglist-args
>> ;; foo.el:
>> (eval-when-compile (require 'cl))
>> (define-modify-macro foo (&optional (n 1)) +)
> Looks like I messed up this part when switching to gv.el.
> But since noone noticed until now, I guess we should simply remove
> define-modify-macro.
Oh, wait, no, it looks like the problem is just that cl--arglist-args
is not autoloaded from cl-macs.el. So the compilation will succeed if
you use a CL macro before wetting to the define-modify-macro.
Should be fixed now,
Stefan
--- End Message ---