]> git.eshelyaron.com Git - emacs.git/commitdiff
(bibtex-Preamble): Enclose BibTeX preamble by field delimiters.
authorStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Jun 2005 16:38:29 +0000 (16:38 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Wed, 15 Jun 2005 16:38:29 +0000 (16:38 +0000)
lisp/textmodes/bibtex.el

index ecaaf76639a5859e7a5b332b9260d677d90fac1b..5f4a83b07eb3e3f0b22ab2bc65c4ae541356df30 100644 (file)
@@ -4277,9 +4277,11 @@ signaled if point is outside key or BibTeX field."
   (bibtex-move-outside-of-entry)
   (indent-to-column bibtex-entry-offset)
   (insert "@Preamble"
-          (bibtex-entry-left-delimiter))
+          (bibtex-entry-left-delimiter)
+          (bibtex-field-left-delimiter))
   (let ((endpos (point)))
     (insert (bibtex-entry-right-delimiter)
+            (bibtex-field-right-delimiter)
             "\n")
     (goto-char endpos)))