[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Byte-compile Warnings and Loading.
From: |
deech |
Subject: |
Byte-compile Warnings and Loading. |
Date: |
Thu, 02 Jun 2016 15:21:03 -0000 |
User-agent: |
G2/1.0 |
Hi all,
I put together a package[1] that implements the Shen programming language in
Elisp and I could use some help with a couple of issues:
1. I can't seem to get rid of warnings when byte-compiling the generated
"shen.el" [2] even though I have the byte-compile-warnings property the top of
the file. I'm getting a lot of "unused lexical variable" warnings even though
"lexical" is in the list of warnings.
2. I would like for the "shen.el" and "shen-primitives.el" file to be loaded
right after compilation even though they don't have any autoloads. Currently
they are only loaded with I call the function `shen/repl` [4] which doesn't
feel very responsive. Ideally they are loaded at the time they are compiled.
Thanks!
-deech
[1] http://github.com/deech/shen-elisp
[2] https://raw.githubusercontent.com/deech/shen-elisp/master/shen.el
[3] https://raw.githubusercontent.com/deech/shen-elisp/master/shen-primitives.el
[4] https://github.com/deech/shen-elisp/blob/master/shen-repl.el#L221
- Byte-compile Warnings and Loading.,
deech <=