From 53811b42390709a3043940668924002e96285892 Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Thu, 23 Sep 1999 11:58:34 +0000 Subject: [PATCH] (iswitchb-complete): Use minibuffer-prompt-end instead of point-min in call to delete-region. --- lisp/iswitchb.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- 2.39.5