Mercurial > emacs
changeset 27096:e200e2db8e99
(completion-setup-function): Count completion-size
from minibuffer-prompt-end, not from point-min.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 03 Jan 2000 09:18:16 +0000 |
parents | 7cc86d68ccf8 |
children | 10df77f1230f |
files | lisp/simple.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/simple.el Mon Jan 03 05:26:02 2000 +0000 +++ b/lisp/simple.el Mon Jan 03 09:18:16 2000 +0000 @@ -3894,7 +3894,7 @@ (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]+\\*\\'"