GNU bug report logs - #70654
30.0.50; defadvice bug (?)

Previous Next

Package: emacs;

Reported by: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>

Date: Mon, 29 Apr 2024 19:07:02 UTC

Severity: normal

Found in version 30.0.50

Done: Andrea Corallo <acorallo <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 70654 <at> debbugs.gnu.org, OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
Subject: bug#70654: 30.0.50; defadvice bug (?)
Date: Mon, 29 Apr 2024 15:30:05 -0400
>> This may not be the way to reproduce though,
>> 
>>   $ emacs -Q
>>   M-x package-initialize
>> 
>>   Then evaluates the following
>> 
>> (defun test ()
>>   (defadvice yank-pop (around kill-ring-browse-maybe (arg))
>>     (interactive "p"))
>>   (ad-activate 'yank-pop))
>> (test)
>> 
>>   With above, *Compile-Log* buffer contains,
>> 
>>  Error: Wrong type argument: arrayp, (lambda (ad--addoit-function arg) (interactive "p") (let (ad-return-value) nil ad-return-value))
>> 
>> I suspect the commit id f2bccae22bd47a2e7e0937b78ea06131711b935a (Use
>> a dedicated type to represent interpreted-function values)
>
> CC'ing Stefan.

I believe I fixed this a couple hours ago.


        Stefan





This bug report was last modified 1 year and 60 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.