diff lisp/iswitchb.el @ 25791:6413bcf4ea32

(iswitchb-complete): Use minibuffer-prompt-end instead of point-min in call to delete-region.
author Gerd Moellmann <gerd@gnu.org>
date Thu, 23 Sep 1999 11:58:34 +0000
parents 28e2ad53250c
children 5d6c941a666a
line wrap: on
line diff
--- a/lisp/iswitchb.el	Wed Sep 22 12:58:49 1999 +0000
+++ b/lisp/iswitchb.el	Thu Sep 23 11:58:34 1999 +0000
@@ -568,7 +568,7 @@
 	       ;; 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)