1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-02-02 20:16:25 +00:00

(iswitchb-exhibit): Use buffer-string instead

of buffer-substring because buffer-string doesn't copy the
prompt.
This commit is contained in:
Gerd Moellmann 1999-09-12 20:21:47 +00:00
parent eabac8252e
commit c1ea301b75

View File

@ -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))