From c1ea301b758936af5cc061eee450dec203af0b5e Mon Sep 17 00:00:00 2001 From: Gerd Moellmann Date: Sun, 12 Sep 1999 20:21:47 +0000 Subject: [PATCH] (iswitchb-exhibit): Use buffer-string instead of buffer-substring because buffer-string doesn't copy the prompt. --- lisp/iswitchb.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/iswitchb.el b/lisp/iswitchb.el index f647c48f600..d20f4f0e280 100644 --- a/lisp/iswitchb.el +++ b/lisp/iswitchb.el @@ -1061,7 +1061,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-substring (point-min)(point-max))) + (let ((contents (buffer-string)) (buffer-undo-list t)) (save-excursion (goto-char (point-max)) -- 2.39.5