]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/reftex-parse.el
Merge from emacs-24; up to 117691
[gnu-emacs] / lisp / textmodes / reftex-parse.el
index 25bce076cbc87538b1e94e922c362fe552d7b30e..ce73939ac32bf6127f8861d39cbe06de372b7441 100644 (file)
@@ -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)