from minibuffer-prompt-end, not from point-min.
+2000-01-03 Eli Zaretskii <eliz@is.elta.co.il>
+
+ * simple.el (completion-setup-function): Count completion-size
+ from minibuffer-prompt-end, not from point-min.
+
2000-01-02 Eli Zaretskii <eliz@is.elta.co.il>
* faces.el (read-face-attribute, defined-colors, color-defined-p):
(set-buffer mainbuf)
(goto-char (point-max))
(skip-chars-backward (format "^%c" directory-sep-char))
- (- (point) (point-min))))
+ (- (point) (minibuffer-prompt-end))))
;; Otherwise, in minibuffer, the whole input is being completed.
(save-match-data
(if (string-match "\\` \\*Minibuf-[0-9]+\\*\\'"