• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kotct / dot / 344 / 1
75%
master: 75%

Build:
Build:
LAST BUILD BRANCH: emacs-27.1
DEFAULT BRANCH: master
Ran 17 Jul 2020 04:09AM UTC
Files 2
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

17 Jul 2020 03:54AM UTC coverage: 75.0%. First build
EVM_EMACS=emacs-26.3-travis-linux-xenial

push

travis-ci

rye
init: Move most requires into eval-when-compile blocks

Symbols typically fall into two categories: those registered explicitly
with `autoload` (e.g. via `;;;###autoload` and such), and those referred
to via the `register-definition-prefixes` function which helps to inform
autoloading.  It seems that those in the latter category will sometimes
fail to be detected by the system.  A third---and quite pesky---category
is those which do not have any autoload definitions prepared for them,
nor any prefixes hinting where autoload can hunt for their definitions.

Now, all external require statements are performed according to a
somewhat straightforward set of rules:

- If a (require) *is* directly used at evaluation time, it must be
  required immediately.

- If a (require) is not needed at evaluation time, (i.e. the file being
  evaluated never refers to any symbols present there) then the require
  can safely be moved into an eval-when-compile.

In some cases, moving a require into an eval-when-compile makes the
compiler a bit concerned, so manual (autoload) invocations seem to
effectively inform the compiler that yes, indeed, symbols are to be
autoloaded.

Signed-off-by: Kristofer Rye <kristofer.rye@gmail.com>

18 of 24 relevant lines covered (75.0%)

1.58 hits per line

Source Files on job 344.1 (EVM_EMACS=emacs-26.3-travis-linux-xenial)
  • Tree
  • List 0
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 321
  • Travis Job 344.1
  • 927c8cba on github
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc