diff options
| author | Richard M. Stallman | 1995-01-06 21:48:36 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1995-01-06 21:48:36 +0000 |
| commit | fa59ceb3f1108d10f9b00c25fc4e7f5b72df5574 (patch) | |
| tree | f9a9ce9713c276351c5b480958c328ee86b2a485 /lisp | |
| parent | 2a83421caac2a73a1f25b80c3b4e07b83a4c6d3f (diff) | |
| download | emacs-fa59ceb3f1108d10f9b00c25fc4e7f5b72df5574.tar.gz emacs-fa59ceb3f1108d10f9b00c25fc4e7f5b72df5574.zip | |
(bibtex-clean-entry): Killing text while editing
the autogenerated label in the minibuffer caused the killed text
to appear in front of the bibtex entry.
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/textmodes/bibtex.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/textmodes/bibtex.el b/lisp/textmodes/bibtex.el index 7f5571f0fc2..75881ef2681 100644 --- a/lisp/textmodes/bibtex.el +++ b/lisp/textmodes/bibtex.el | |||
| @@ -7,7 +7,6 @@ | |||
| 7 | ;; Mark Shapiro <shapiro@corto.inria.fr> | 7 | ;; Mark Shapiro <shapiro@corto.inria.fr> |
| 8 | ;; Mike Newton <newton@gumby.cs.caltech.edu> | 8 | ;; Mike Newton <newton@gumby.cs.caltech.edu> |
| 9 | ;; Aaron Larson <alarson@src.honeywell.com> | 9 | ;; Aaron Larson <alarson@src.honeywell.com> |
| 10 | ;; Version: 2.0 (based on RCS $Revision: 1.22 $, $Date: 1994/12/21 15:02:30 $) | ||
| 11 | ;; Maintainer: Stefan Schoef <schoef@informatik.uni-oldenburg.de> | 10 | ;; Maintainer: Stefan Schoef <schoef@informatik.uni-oldenburg.de> |
| 12 | ;; Keywords: BibTeX, LaTeX, TeX | 11 | ;; Keywords: BibTeX, LaTeX, TeX |
| 13 | 12 | ||
| @@ -1985,7 +1984,8 @@ given, calculate a new entry label." | |||
| 1985 | (bibtex-end-of-entry) | 1984 | (bibtex-end-of-entry) |
| 1986 | (search-forward-regexp "^@" nil 'move) | 1985 | (search-forward-regexp "^@" nil 'move) |
| 1987 | (beginning-of-line) | 1986 | (beginning-of-line) |
| 1988 | (point)))) | 1987 | (point))) |
| 1988 | last-command) | ||
| 1989 | (kill-region start end) | 1989 | (kill-region start end) |
| 1990 | (let ((success (bibtex-find-entry-location autokey t))) | 1990 | (let ((success (bibtex-find-entry-location autokey t))) |
| 1991 | (yank) | 1991 | (yank) |