Hi Loris, "Loris Bennett" <loris.benn...@fu-berlin.de> writes:
> ,------------------------------------------------- > | (defun org-mode-reftex-setup () > | (interactive) > | (load-library "reftex") > | (and (buffer-file-name) > | (file-exists-p (buffer-file-name)) > | (reftex-parse-all))) > | > | (add-hook 'org-mode-hook 'org-mode-reftex-setup) > `------------------------------------------------- > > Following the update, this now seems to throw the error: > > ,-------------------------------------------------------------------- > | Loading reftex...done > | File mode specification error: (wrong-type-argument sequencep dwim) > `-------------------------------------------------------------------- > > Any ideas? You need to use this defun instead: (defun org-mode-reftex-setup () (load-library "reftex") (and (buffer-file-name) (file-exists-p (buffer-file-name)) (setq TeX-master t) (reftex-parse-all)) (define-key org-mode-map (kbd "C-c )") 'reftex-citation)) setting TeX-master to t locally. HTH, -- Bastien