1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

(icomplete-exhibit): Adapt to prompt in buffer.

This commit is contained in:
Gerd Moellmann 1999-12-28 18:14:44 +00:00
parent a3d4e58757
commit e83062243f
2 changed files with 3 additions and 1 deletions

View file

@ -246,7 +246,7 @@ and `minibuffer-setup-hook'."
Should be run via minibuffer `post-command-hook'. See `icomplete-mode'
and `minibuffer-setup-hook'."
(if (icomplete-simple-completing-p)
(let ((contents (buffer-substring (point-min)(point-max)))
(let ((contents (buffer-substring (minibuffer-prompt-end)(point-max)))
(buffer-undo-list t))
(save-excursion
(goto-char (point-max))