diff options
author | Gerd Moellmann <gerd@gnu.org> | 1999-10-17 16:48:22 +0000 |
---|---|---|
committer | Gerd Moellmann <gerd@gnu.org> | 1999-10-17 16:48:22 +0000 |
commit | 600f9d03904b78ced2cdbc4311668f354147e0a4 (patch) | |
tree | f79bea9c0ab74c2a585fff9a0aa5244896a210d1 /lisp/iswitchb.el | |
parent | 0ffc420f5cb2df7404384d3cf3be05d13c8597dd (diff) | |
download | emacs-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.el | 2 |
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)) |