(completion-setup-function): Count completion-size
from minibuffer-prompt-end, not from point-min.
This commit is contained in:
parent
c082a34881
commit
0aad4805af
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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]+\\*\\'"
|
||||
|
|
Loading…
Add table
Reference in a new issue