Commit fa59ceb3 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(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.
parent 2a83421c
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment