summaryrefslogtreecommitdiff
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/textmodes/bibtex.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index afc3d8f6a15..038c7cc0a97 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -699,6 +699,8 @@ non-nil."
(set-syntax-table bibtex-mode-syntax-table)
(setq local-abbrev-table bibtex-mode-abbrev-table)
(make-local-variable 'paragraph-start)
+ (make-local-variable 'comment-start)
+ (setq comment-start "%")
(setq paragraph-start "^[ \f\n\t]*$")
(auto-fill-mode 1) ; nice alignments
(setq left-margin (+ bibtex-text-alignment 1))