]> git.eshelyaron.com Git - emacs.git/commitdiff
(icomplete-exhibit): Use minibuffer-prompt-end.
authorRichard M. Stallman <rms@gnu.org>
Fri, 2 Aug 2002 17:56:01 +0000 (17:56 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 2 Aug 2002 17:56:01 +0000 (17:56 +0000)
lisp/icomplete.el

index 5be4ce99139ac9a65cdc181cbd3f4d78b8e64b7c..42350532f1f10b70357ef693ffbf6434419b4d8e 100644 (file)
@@ -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)