From: Gerd Moellmann Date: Sun, 12 Sep 1999 20:21:47 +0000 (+0000) Subject: (iswitchb-exhibit): Use buffer-string instead X-Git-Tag: emacs-pretest-21.0.90~6790 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c1ea301b758936af5cc061eee450dec203af0b5e;p=emacs.git (iswitchb-exhibit): Use buffer-string instead of buffer-substring because buffer-string doesn't copy the prompt. --- 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))