ndwarshuis / org-sql

SQL backend for Emacs Org-Mode
GNU General Public License v3.0
97 stars 9 forks source link

Fix byte-compile warning #16

Closed syohex closed 2 years ago

syohex commented 2 years ago

Functions which are used in macros must be evaluated both compile time and load time.

org-sql.el:1538:10: Error: Symbol’s value as variable is void: org-sql--entry-keys
ndwarshuis commented 2 years ago

What specific compile warning does this solve? I'm not seeing anything related to these on my end.

syohex commented 2 years ago
git clone https://github.com/ndwarshuis/org-sql
cd org-sql
cask
cask exec emacs -Q -L . .

Then type B at the line of org-sql.el and byte-compile in dired buffer, I got above errors. Or I install org-sql by package.el I got the same error.

ndwarshuis commented 2 years ago

apparently there was a typo in the Cask file that prevented the build from actually testing, thank you for pointing this out :)