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


Message #8 received at 70654 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>,
 Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: 70654 <at> debbugs.gnu.org
Subject: Re: bug#70654: 30.0.50; defadvice bug (?)
Date: Mon, 29 Apr 2024 22:16:11 +0300
> From: OGAWA Hirofumi <hirofumi <at> mail.parknet.co.jp>
> Date: Tue, 30 Apr 2024 04:05:32 +0900
> 
> 
> 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.




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.