aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman <[email protected]>1994-05-30 10:32:11 +0000
committerRichard M. Stallman <[email protected]>1994-05-30 10:32:11 +0000
commit274d13877428f6d69ffe73ce37645acd7781698b (patch)
tree37b91e4db81a621c6224e670092f85deb5045f12
parent38c8f5d34738c3ad935a23a20935b218ef85daa6 (diff)
(bibtex-clean-entry): Back over close delimiter carefully.
-rw-r--r--lisp/textmodes/bibtex.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el
index 494fdbbed8..afc3d8f6a1 100644
--- a/lisp/textmodes/bibtex.el
+++ b/lisp/textmodes/bibtex.el
@@ -1489,8 +1489,8 @@ an undefined location.
(end-of-bibtex-entry)
(save-excursion
- (previous-line 1)
- (end-of-line)
+ (backward-char 1)
+ (skip-syntax-backward " >")
(if (eq (preceding-char) ?,)
(backward-delete-char 1)))
(skip-whitespace-and-comments)))