diff options
Diffstat (limited to 'lisp/textmodes/bibtex.el')
-rw-r--r-- | lisp/textmodes/bibtex.el | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index e17cd9e5b2..0662acf2c5 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el @@ -9,7 +9,7 @@ ;; Mike Newton <[email protected]> ;; Aaron Larson <[email protected]> ;; Dirk Herrmann <[email protected]> -;; Maintainer: Roland Winkler <[email protected]> +;; Maintainer: Roland Winkler <[email protected]> ;; Keywords: BibTeX, LaTeX, TeX ;; This file is part of GNU Emacs. @@ -3027,12 +3027,14 @@ if that value is non-nil. ;; brace-delimited ones ) nil - (font-lock-syntactic-keywords . bibtex-font-lock-syntactic-keywords) (font-lock-extra-managed-props . (category)) (font-lock-mark-block-function . (lambda () (set-mark (bibtex-end-of-entry)) (bibtex-beginning-of-entry))))) + (set (make-local-variable 'syntax-propertize-function) + (syntax-propertize-via-font-lock + bibtex-font-lock-syntactic-keywords)) (setq imenu-generic-expression (list (list nil bibtex-entry-head bibtex-key-in-head)) imenu-case-fold-search t) |