From: Richard M. Stallman Date: Tue, 26 Feb 2002 16:05:35 +0000 (+0000) Subject: (icomplete-exhibit): Use minibuffer-prompt-end. X-Git-Tag: ttn-vms-21-2-B4~16462 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8caa4ef5bd8ba4a0e3ebdeddedad1e182bdb27bb;p=emacs.git (icomplete-exhibit): Use minibuffer-prompt-end. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index e35458f156b..786c0a55228 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -258,7 +258,7 @@ and `minibuffer-setup-hook'." (make-local-variable 'icomplete-eoinput)) (setq icomplete-eoinput (point)) ; Insert the match-status information: - (if (and (> (point-max) 1) + (if (and (> (point-max) (minibuffer-prompt-end)) (or ;; Don't bother with delay after certain number of chars: (> (point-max) icomplete-max-delay-chars)