Hi Steve,
Thanks for that - much more compact. I didn't know about the
`,-construction.
Cheers,
Loris
Steve Downey writes:
> My workaround for dealing with different org versions on different machines:
>
> (org-babel-do-load-languages
>'org-babel-load-languages
>`((perl . t)
My workaround for dealing with different org versions on different machines:
> (org-babel-do-load-languages
> 'org-babel-load-languages
> `((perl . t)
> (ruby . t)
> ,(if (version< org-version "9.0")
> '(sh . t)
>'(shell . t))
> (python
Loris Bennett writes:
> Hi,
>
> I want to use one init.el across multiple machines with different
> versions of Emacs and Org. Since 'ob-sh.el' changed to 'ob-shell', I
> need to do either
>
> (org-babel-do-load-languages
>'org-babel-load-languages
>'((org . t)
> (emacs-lisp . t)
Hi,
I want to use one init.el across multiple machines with different
versions of Emacs and Org. Since 'ob-sh.el' changed to 'ob-shell', I
need to do either
(org-babel-do-load-languages
'org-babel-load-languages
'((org . t)
(emacs-lisp . t)
(shell . t)
(perl . t)
(R .