summaryrefslogtreecommitdiff
path: root/lisp/iswitchb.el
diff options
context:
space:
mode:
authorGerd Moellmann <gerd@gnu.org>1999-10-17 16:48:22 +0000
committerGerd Moellmann <gerd@gnu.org>1999-10-17 16:48:22 +0000
commit600f9d03904b78ced2cdbc4311668f354147e0a4 (patch)
treef79bea9c0ab74c2a585fff9a0aa5244896a210d1 /lisp/iswitchb.el
parent0ffc420f5cb2df7404384d3cf3be05d13c8597dd (diff)
downloademacs-600f9d03904b78ced2cdbc4311668f354147e0a4.tar.gz
(iswitchb-exhibit): Extract user-input only
from the mini-buffer, without the prompt.
Diffstat (limited to 'lisp/iswitchb.el')
-rw-r--r--lisp/iswitchb.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el
index 4fa30f9742e..0cc379fc2bc 100644
--- a/lisp/iswitchb.el
+++ b/lisp/iswitchb.el
@@ -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))