]> code.delx.au - gnu-emacs/blobdiff - lisp/icomplete.el
*** empty log message ***
[gnu-emacs] / lisp / icomplete.el
index e35458f156bf6c0b8a1ad51f8687deef1c475d70..786c0a552284cbebaeefd6c2f7d5f710afab9e61 100644 (file)
@@ -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)