From: Gerd Moellmann Date: Thu, 23 Sep 1999 11:58:34 +0000 (+0000) Subject: (iswitchb-complete): Use minibuffer-prompt-end X-Git-Tag: emacs-pretest-21.0.90~6651 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=53811b42390709a3043940668924002e96285892;p=emacs.git (iswitchb-complete): Use minibuffer-prompt-end instead of point-min in call to delete-region. --- diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index d20f4f0e280..f2d5fc4f926 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el @@ -568,7 +568,7 @@ The result is stored in `iswitchb-common-match-string'." ;; found something to complete, so put it in the minibuffer. (progn (setq iswitchb-rescan nil) - (delete-region (point-min) (point)) + (delete-region (minibuffer-prompt-end) (point)) (insert res)) ;; else nothing to complete (iswitchb-completion-help)