From: Richard M. Stallman Date: Fri, 2 Aug 2002 17:56:01 +0000 (+0000) Subject: (icomplete-exhibit): Use minibuffer-prompt-end. X-Git-Tag: emacs-pretest-21.2.91~133 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=06a362633d65ba9863a4cb0e2c44bb54d1e46293;p=emacs.git (icomplete-exhibit): Use minibuffer-prompt-end. --- diff --git a/lisp/icomplete.el b/lisp/icomplete.el index 5be4ce99139..42350532f1f 100644 --- a/lisp/icomplete.el +++ b/lisp/icomplete.el @@ -260,7 +260,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)