From: Stefan Monnier <monnier@IRO.UMontreal.CA>
To: 14860@debbugs.gnu.org
Cc: Peter Vasil <mailing_lists@petervasil.net>
Subject: bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0
Date: Sat, 13 Jul 2013 19:35:32 -0400 [thread overview]
Message-ID: <jwvmwpqf2zr.fsf-monnier+emacs@gnu.org> (raw)
[-- Attachment #1: Type: text/plain, Size: 42 bytes --]
[ Making it into a proper bug-report. ]
[-- Attachment #2: Type: message/rfc822, Size: 4927 bytes --]
From: Peter Vasil <mailing_lists@petervasil.net>
To: emacs-devel@gnu.org
Subject: emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0
Date: Sat, 13 Jul 2013 13:02:24 +0200
Message-ID: <CAJe0aUT2y2t_=YzrKt_aas7baeEen97MKrbMP0OCQJD2vnG7Ew@mail.gmail.com>
Hi list,
I have the following function in my init.el file
(defun goto-line-with-feedback ()
"Show line numbers temporarily, while prompting for the line number input"
(interactive)
(let ((line-numbers-off-p (if (boundp 'linum-mode)
(not linum-mode)
t)))
(unwind-protect
(progn
(when line-numbers-off-p
(linum-mode 1))
(call-interactively 'goto-line))
(when line-numbers-off-p
(linum-mode -1)))))
When I byte-compile init.el I get the following warning:
function goto-line-with-feedback used to take 0+ arguments, now takes 0
With emacs 24.3 I don't get this warning only with emacs trunk.
I am on revision 113411
Thanks,
Peter
next reply other threads:[~2013-07-13 23:35 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-13 23:35 Stefan Monnier [this message]
2013-07-14 0:02 ` bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0 Stefan Monnier
2013-07-14 1:03 ` Michael Heerdegen
2013-07-14 6:34 ` Stefan Monnier
2013-07-14 9:09 ` Peter Vasil
[not found] <CAJe0aUTtUyT8fhnJyg=kWLcD1VaCAS95pHTLxXwhE1J+wZBtzw@mail.gmail.com>
2013-07-14 17:41 ` Stefan Monnier
2013-07-14 18:28 ` Peter Vasil
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvmwpqf2zr.fsf-monnier+emacs@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=14860@debbugs.gnu.org \
--cc=mailing_lists@petervasil.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.