Mercurial > emacs
changeset 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 | 7a57f8890220 |
children | 80e84cb91f1e |
files | lisp/iswitchb.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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)