# HG changeset patch # User Gerd Moellmann # Date 938087914 0 # Node ID 6413bcf4ea3225227fc524b38fad67bc1abb99ea # Parent 7a57f889022085e114607779ad21af3ae0318cef (iswitchb-complete): Use minibuffer-prompt-end instead of point-min in call to delete-region. diff -r 7a57f8890220 -r 6413bcf4ea32 lisp/iswitchb.el --- 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)