Commit 600f9d03 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(iswitchb-exhibit): Extract user-input only

from the mini-buffer, without the prompt.
parent 0ffc420f
1999-10-17 Gerd Moellmann <gerd@gnu.org>
* iswitchb.el (iswitchb-exhibit): Extract user-input only
from the mini-buffer, without the prompt.
* simple.el (minibuffer-prompt-end): Return the position
after the prompt, not the position of that last character
of the prompt.
......
......@@ -1065,7 +1065,7 @@ Copied from `icomplete-exhibit' with two changes:
2. It calls my completion routine rather than the standard completion."
(if iswitchb-use-mycompletion
(let ((contents (buffer-string))
(let ((contents (buffer-substring (minibuffer-prompt-end) (point-max)))
(buffer-undo-list t))
(save-excursion
(goto-char (point-max))
......
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