]> git.eshelyaron.com Git - emacs.git/commitdiff
(icomplete-exhibit): Use minibuffer-prompt-end.
authorRichard M. Stallman <rms@gnu.org>
Tue, 26 Feb 2002 16:05:35 +0000 (16:05 +0000)
committerRichard M. Stallman <rms@gnu.org>
Tue, 26 Feb 2002 16:05:35 +0000 (16:05 +0000)
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)