(bibtex-format-entry): Fix previous change.
This commit is contained in:
parent
e7abcdfba9
commit
8a62c4708e
1 changed files with 2 additions and 2 deletions
|
|
@ -2006,11 +2006,11 @@ Formats current entry according to variable `bibtex-entry-format'."
|
|||
(if (looking-at bibtex-field-const)
|
||||
(goto-char (match-end 0))
|
||||
(let ((boundaries (bibtex-parse-field-string)))
|
||||
(unless (looking-at right-delim-re)
|
||||
(unless (looking-at left-delim-re)
|
||||
(delete-char 1)
|
||||
(insert (bibtex-field-left-delimiter)))
|
||||
(goto-char (1- (cdr boundaries)))
|
||||
(if (looking-at left-delim-re)
|
||||
(if (looking-at right-delim-re)
|
||||
(forward-char)
|
||||
(delete-char 1)
|
||||
(insert (bibtex-field-right-delimiter)))))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue