emacs-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[debbugs-tracker] bug#20517: closed (define-modify-macro: void function:


From: GNU bug Tracking System
Subject: [debbugs-tracker] bug#20517: closed (define-modify-macro: void function: cl--arglist-args)
Date: Wed, 06 May 2015 21:48:02 +0000

Your message dated Wed, 06 May 2015 17:47:25 -0400
with message-id <address@hidden>
and subject line Re: bug#20517: define-modify-macro: void function: 
cl--arglist-args
has caused the debbugs.gnu.org bug report #20517,
regarding define-modify-macro: void function: cl--arglist-args
to be marked as done.

(If you believe you have received this mail in error, please contact
address@hidden)


-- 
20517: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=20517
GNU Bug Tracking System
Contact address@hidden with problems
--- 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 ---

reply via email to

[Prev in Thread] Current Thread [Next in Thread]