X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/09b911adf4e22bbcac8c588bc14ade801276732e..3a8b7013042adae3c27327a75662fd8e884d4896:/lisp/textmodes/reftex-parse.el diff --git a/lisp/textmodes/reftex-parse.el b/lisp/textmodes/reftex-parse.el index 25bce076cb..7f186afc27 100644 --- a/lisp/textmodes/reftex-parse.el +++ b/lisp/textmodes/reftex-parse.el @@ -1,6 +1,6 @@ ;;; reftex-parse.el --- parser functions for RefTeX -;; Copyright (C) 1997-2014 Free Software Foundation, Inc. +;; Copyright (C) 1997-2015 Free Software Foundation, Inc. ;; Author: Carsten Dominik ;; Maintainer: auctex-devel@gnu.org @@ -357,13 +357,13 @@ of master file." docstruct)) (defun reftex-using-biblatex-p () - "Return non-nil iff we are using biblatex rather than bibtex." + "Return non-nil if we are using biblatex rather than bibtex." (if (boundp 'TeX-active-styles) ;; the sophisticated AUCTeX way (member "biblatex" TeX-active-styles) ;; poor-man's check... (save-excursion - (re-search-forward "^[^%]*\\\\usepackage.*{biblatex}" nil t)))) + (re-search-forward "^[^%\n]*?\\\\usepackage.*{biblatex}" nil t)))) ;;;###autoload (defun reftex-locate-bibliography-files (master-dir &optional files)