Created
November 5, 2014 17:02
-
-
Save chrzyki/5f600054eae81b4f1a31 to your computer and use it in GitHub Desktop.
Fixes a reftex bug with emacs 24.x (as per https://lists.gnu.org/archive/html/emacs-orgmode/2014-10/msg00762.html)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- reftex-parse.old.el 2014-11-05 18:00:04.128132764 +0100 | |
+++ reftex-parse.el 2014-11-05 17:54:52.834802367 +0100 | |
@@ -357,7 +357,7 @@ | |
(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)))) | |
(defun reftex-locate-bibliography-files (master-dir &optional files) | |
"Scan buffer for bibliography macros and return file list." |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment