1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

(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.
This commit is contained in:
Richard M. Stallman 1995-01-06 21:48:36 +00:00
parent 2a83421caa
commit fa59ceb3f1

View file

@ -7,7 +7,6 @@
;; Mark Shapiro <shapiro@corto.inria.fr>
;; Mike Newton <newton@gumby.cs.caltech.edu>
;; Aaron Larson <alarson@src.honeywell.com>
;; Version: 2.0 (based on RCS $Revision: 1.22 $, $Date: 1994/12/21 15:02:30 $)
;; Maintainer: Stefan Schoef <schoef@informatik.uni-oldenburg.de>
;; Keywords: BibTeX, LaTeX, TeX
@ -1985,7 +1984,8 @@ given, calculate a new entry label."
(bibtex-end-of-entry)
(search-forward-regexp "^@" nil 'move)
(beginning-of-line)
(point))))
(point)))
last-command)
(kill-region start end)
(let ((success (bibtex-find-entry-location autokey t)))
(yank)