I have some backward-compat code that does this:

--8<---------------cut here---------------start------------->8---
;;(setq major-version (string-to-number (nth 0 (split-string (org-version) 
"[.]"))))
(setq major-version 8)

(if (< major-version 8)
    (progn
      (require 'org-latex)
      ...
  (progn
    (require 'ox-latex)
    ...
--8<---------------cut here---------------end--------------->8---

After last night's git pull, org-version returns "beta_8.3" which
broke the major-version calculation above. I hardwired the org version
major number above, but I was wondering if we could agree on  some
convention/method that will not break in the future - maybe an
org-major-version function?

Thanks,
Nick






Reply via email to