changeset 63470:c318ec40e95f

(bibtex-Preamble): Enclose BibTeX preamble by field delimiters.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Wed, 15 Jun 2005 16:38:29 +0000
parents 202050ef8d08
children cd6bb9751bfe
files lisp/textmodes/bibtex.el
diffstat 1 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/bibtex.el	Wed Jun 15 15:19:41 2005 +0000
+++ b/lisp/textmodes/bibtex.el	Wed Jun 15 16:38:29 2005 +0000
@@ -4277,9 +4277,11 @@
   (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)))