[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#10254: 24.0.92; Local variable bibtex-dialect has no effect
From: |
Glenn Morris |
Subject: |
bug#10254: 24.0.92; Local variable bibtex-dialect has no effect |
Date: |
Sat, 10 Dec 2011 02:43:54 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Uwe Siart wrote:
> In bibtex-mode I tried to set bibtex-dialect automatically via
>
> ,----
> | ;; -*- bibtex-dialect: biblatex; -*-
> `----
>
> in the first line of a bib file.
C-h v bibtex-dialect says:
During a session change it via `bibtex-set-dialect'.
which is perhaps not 100% clear, but means that if bibtex-mode is
already loaded (which it will be by the time local variables are
processed), you must either change the value with M-x customize or by
calling that function. Just using a setq is not enough. So to have a
buffer-local value you must use something like:
;; -*- eval: (bibtex-set-dialect 'biblatex) -*-