Commit 0aad4805 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(completion-setup-function): Count completion-size

from minibuffer-prompt-end, not from point-min.
parent c082a348
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):
......
......@@ -3894,7 +3894,7 @@ The completion list buffer is available as the value of `standard-output'.")
(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]+\\*\\'"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment