diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-09-23 11:58:34 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-09-23 11:58:34 +0000 |
commit | 53811b42390709a3043940668924002e96285892 (patch) | |
tree | 87b7dd6373e6b3d6bf484851bd9279239614a008 /lisp/iswitchb.el | |
parent | d76a596e39b5a2f003201cdece56c737302b8b5c (diff) | |
download | emacs-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.el | 2 |
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) |