summaryrefslogtreecommitdiff
path: root/lisp/iswitchb.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-09-23 11:58:34 +0000
committerGerd Moellmann <gerd@gnu.org>1999-09-23 11:58:34 +0000
commit53811b42390709a3043940668924002e96285892 (patch)
tree87b7dd6373e6b3d6bf484851bd9279239614a008 /lisp/iswitchb.el
parentd76a596e39b5a2f003201cdece56c737302b8b5c (diff)
downloademacs-53811b42390709a3043940668924002e96285892.tar.gz
(iswitchb-complete): Use minibuffer-prompt-end
instead of point-min in call to delete-region.
Diffstat (limited to 'lisp/iswitchb.el')
-rw-r--r--lisp/iswitchb.el2
1 files changed, 1 insertions, 1 deletions
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)