From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: lekktu@gmail.com, emacs-devel@gnu.org
Subject: Re: [Emacs-diffs] master 5e43955 1/2: Don't declare vc-exec-after anymore
Date: Thu, 22 Oct 2015 18:04:39 +0300 [thread overview]
Message-ID: <83eggnt054.fsf@gnu.org> (raw)
In-Reply-To: <5628D1C5.4070300@yandex.ru>
> From: Dmitry Gutov <dgutov@yandex.ru>
> Date: Thu, 22 Oct 2015 15:08:37 +0300
> Cc: emacs-devel <emacs-devel@gnu.org>
>
> address@hidden:\...\vc> for %i in (svn mtn hg cvs git bzr) do emacs -batch -Q
> -f batch-byte-compile vc-%i.el
>
> In end of data:
> vc-mtn.el:378:1:Warning: the function `vc-exec-after' might not be
> defined at
> runtime.
>
> No direct calls to vc-exec-after appear in any of these files anymore. All of them call vc-run-delayed, yet, as you say, the warning is displayed only when compiling some of them.
FWIW, on my system I see that warning with all the vc-*.el files that
call vc-run-delayed. The only exception is vc-svn.el, and the reason
is this single line:
(autoload 'vc-expand-dirs "vc")
If you remove it, the warning will appear in vc-svn.el as well.
(Loading vc loads vc-dispatcher as a side effect.)
Another data point: replace this:
(eval-when-compile (require 'vc))
with this:
(require 'vc)
and the warning also goes way. So evidently there's some difference
between these two, or maybe a byte-compiler bug.
next prev parent reply other threads:[~2015-10-22 15:04 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <20151020190758.14547.6515@vcs.savannah.gnu.org>
[not found] ` <E1ZocGN-0003nd-DB@vcs.savannah.gnu.org>
[not found] ` <CAAeL0STEg9P4GgT_XFJh_J0SexBnoT_Vh_=muMxsQYVBoNW-xA@mail.gmail.com>
2015-10-22 12:08 ` [Emacs-diffs] master 5e43955 1/2: Don't declare vc-exec-after anymore Dmitry Gutov
2015-10-22 12:25 ` Juanma Barranquero
2015-10-22 15:04 ` Eli Zaretskii [this message]
2015-10-23 7:29 ` Eli Zaretskii
2015-10-23 13:38 ` Dmitry Gutov
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=83eggnt054.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=dgutov@yandex.ru \
--cc=emacs-devel@gnu.org \
--cc=lekktu@gmail.com \
/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.