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:
parent
a3d4e58757
commit
e83062243f
2 changed files with 3 additions and 1 deletions
|
|
@ -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))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue