Peter Davis <p...@pfdstudio.com> writes: > Eric S Fraga <e.fr...@ucl.ac.uk> writes: > >> Peter Davis <p...@pfdstudio.com> writes: >> >> [...] >> >>>> > Ok, something weird is going on. This worked on my office MacBook, but >>>> > when I try on the home one, also with org 8.2.3c, >>>> > org-export-latex-classes is defined, but org-latex-classes is not. >>>> > >>>> > Any clues? >>>> >>>> this sounds like a mixed installation. do you have an old version of >>>> org lying around, maybe as part of the emacs installation? are the two >>>> systems running different versions of emacs? >>>> >>> >>> Both running emacs 24.3.1, same build >> >> Ummm, strange. What happens if you >> >> C-h v org-export-latex-classes RET >> >> e.g. does it show "is a variable defined in " some file? If so, where >> do you end up if you hit RET on that file name? > > It does say the variable is define in org-latex.el, and clicking on that > name takes me to the definition in org-latex.el.gz. > > Perhaps that one file is out of sync somehow? Strange. >
This one file is probably part of the org-mode distributed with your emacs (that's why it is compressed: the files that you get through git, or tar or ELPA are uncompressed[fn:1]). You are picking that up before you pick up the org-latex.el from the 8.2.3c version of org-mode, presumably because you loaded it early before you changed the value of load-path to prefer the 8.2.3c version. What happens if you set load-path properly at the very beginning of your .emacs file? See section 1.2 of the org manual. Footnotes: [fn:1] I'm sure about git, but it's only my belief in the other two cases since I have never used either of those methods. -- Nick