unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#14860: [Peter Vasil] emacs 24.3.50.1: Byte compile warning Warning: function used to take 0+ arguments, now takes 0
@ 2013-07-13 23:35 Stefan Monnier
  2013-07-14  0:02 ` Stefan Monnier
  2013-07-14  9:09 ` Peter Vasil
  0 siblings, 2 replies; 7+ messages in thread
From: Stefan Monnier @ 2013-07-13 23:35 UTC (permalink / raw)
  To: 14860; +Cc: Peter Vasil

[-- 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

^ permalink raw reply	[flat|nested] 7+ messages in thread
[parent not found: <CAJe0aUTtUyT8fhnJyg=kWLcD1VaCAS95pHTLxXwhE1J+wZBtzw@mail.gmail.com>]

end of thread, other threads:[~2013-07-14 18:28 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-13 23:35 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  0:02 ` 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

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).