marsmining / ox-twbs

Export org-mode docs as HTML compatible with Twitter Bootstrap.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

2 byte code compilation warnings: org-format-latex, org-translate-time and org-publish-resolve-external-fuzzy-link

robstewart57 opened this issue · comments

When compiling twbs.el to byte code I get the following 2 warnings:

In org-twbs-format-latex-arity:
ox-twbs.el:2189:8:Warning: org-format-latex called with 7 arguments, but
    accepts only 1-6

In end of data:
ox-twbs.el:3140:1:Warning: the following functions are not known to be defined:
    org-translate-time, org-publish-resolve-external-fuzzy-link

With GNU Emacs 24.5.1 .

Thanks for the feedback!

I can definitely say the arity warning for org-format-latex is ok, and occurs because of a change somewhere between org-mode 8.2x to 8.3.x. I'm handling it like this, but I'm unsure if this is an idiomatic way of handling this type of problem.

The subsequent warning is something that needs to be looked into.

With the following commits I believe compilation against org-mode 8.2.x and 8.3.x should be warning free.

12e696d
127fca9
65bcdee

Thanks for taking time to report the issue!