auctex-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[AUCTeX-diffs] Changes to auctex/style/biblatex.el,v


From: Tassilo Horn
Subject: [AUCTeX-diffs] Changes to auctex/style/biblatex.el,v
Date: Tue, 12 Feb 2013 07:54:42 +0000

CVSROOT:        /sources/auctex
Module name:    auctex
Changes by:     Tassilo Horn <tsdh>     13/02/12 07:54:40

Index: style/biblatex.el
===================================================================
RCS file: /sources/auctex/auctex/style/biblatex.el,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -b -r1.1 -r1.2
--- style/biblatex.el   14 Nov 2012 17:57:14 -0000      1.1
+++ style/biblatex.el   12 Feb 2013 07:54:40 -0000      1.2
@@ -1,6 +1,6 @@
 ;;; biblatex.el --- AUCTeX style for `biblatex.sty'
 
-;; Copyright (C) 2012 Free Software Foundation, Inc.
+;; Copyright (C) 2012-2013 Free Software Foundation, Inc.
 
 ;; Author: Ralf Angeli <address@hidden>
 ;; Maintainer: address@hidden
@@ -33,11 +33,11 @@
 (TeX-add-style-hook
  "biblatex"
  (lambda ()
-   ;; Unfortunately `(member "backend=biber" TeX-active-styles)' does
-   ;; not work as a test because "backend=biber" is added to
-   ;; `TeX-active-styles' after "biblatex".  So we check the value of
-   ;; `LaTeX-biblatex-use-biber' and let the user set it if desired.
-   (when LaTeX-biblatex-use-Biber
+   ;; Biblatex uses as default backend biber, run it unless biblatex `backend'
+   ;; option value is one of `bibtex', `bibtex8', `bibtexu'.
+   (unless (or (member "backend=bibtex" TeX-active-styles)
+              (member "backend=bibtex8" TeX-active-styles)
+              (member "backend=bibtexu" TeX-active-styles))
      (setq LaTeX-using-Biber t))))
 
 ;; TODO: Add package options.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]