On Jul 13, 2007, at 9:18, francois wrote:

Carsten Dominik <dominik <at> science.uva.nl> writes:

thanks for your prompt reply.

To customize this citation I have defined in my .emacs
(defun my-org-mode-setup ()
Are you adding this function to org-mode-hook?
yes

Change
  (reftex-parse-all) ; to make reftex aware of the biblio
                     ; # \bibliography{biblio}
to this:

    (if (buffer-file-name) (reftex-parse-all))

I have just tried, but it didn't change anything.
The reftex-parse-all seems to be still called.

How about

   (and (buffer-file-name)
        (file-exists-p (buffer-file-name))
        (reftex-parse-all))

?

- Carsten



--
Carsten Dominik
Sterrenkundig Instituut "Anton Pannekoek"
Universiteit van Amsterdam
Kruislaan 403
NL-1098SJ Amsterdam
phone: +31 20 525 7477



_______________________________________________
Emacs-orgmode mailing list
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

Reply via email to