[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: pacifying "might not be defined at runtime" warning
From: |
Eli Zaretskii |
Subject: |
Re: pacifying "might not be defined at runtime" warning |
Date: |
Mon, 09 May 2016 19:40:59 +0300 |
> From: Paul Eggert <address@hidden>
> Date: Mon, 9 May 2016 09:35:41 -0700
>
> What is the recommended way to pacify the byte compiler in this
> situation?
Does using declare-function help?
> I tried prepending (eval-when-compile (require 'vc)) to vc-bzr.el,
> but that doesn’t suffice, as the byte-compiler still complains
> “vc/vc-bzr.el:1337:1:Warning: the function ‘vc-deduce-fileset’ might
> not be defined at runtime.”
Yes, because the complaint is about _run_ time, and eval-when-compile
only helps at _compile_ time.