GNU bug report logs - #14860
Advice causes byte compile warning: function used to take 0+ arguments, now takes 0

Previous Next

Package: emacs;

Reported by: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Date: Sat, 13 Jul 2013 23:37:01 UTC

Severity: minor

Tags: confirmed, fixed, patch

Merged with 27630, 28803

Found in version 26.0.50

Fixed in version 26.1

Done: Stefan Monnier <monnier <at> IRO.UMontreal.CA>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> IRO.UMontreal.CA>
To: Peter Vasil <mailing_lists <at> petervasil.net>
Cc: bug-gnu-emacs <at> gnu.org
Subject: Re: bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning
 Warning: function used to take 0+ arguments, now takes 0
Date: Sun, 14 Jul 2013 13:41:06 -0400
> Indeed, I have an advice on that function
> (defadvice goto-line-with-feedback
>     (after
>      expand-after-goto-line-with-feedback
>      activate compile)
>     "hideshow-expand affected block when using
> goto-line-with-feedback in a collapsed buffer"
>     (save-excursion
>       (hs-show-block)))

Than it's a known issue.  I do wonder, tho: why on earth do you have an
advice on your hand-written function?


        Stefan




This bug report was last modified 7 years and 214 days ago.

Previous Next


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