changeset 26065:852cd4f88b37

(iswitchb-exhibit): Extract user-input only from the mini-buffer, without the prompt.
author Gerd Moellmann <gerd@gnu.org>
date Sun, 17 Oct 1999 16:47:30 +0000
parents 5a1f081e0ca0
children 7087c5dd25b6
files lisp/iswitchb.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/iswitchb.el	Sun Oct 17 16:38:11 1999 +0000
+++ b/lisp/iswitchb.el	Sun Oct 17 16:47:30 1999 +0000
@@ -1065,7 +1065,7 @@
 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))