Commit c1ea301b authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(iswitchb-exhibit): Use buffer-string instead

of buffer-substring because buffer-string doesn't copy the
prompt.
parent eabac825
...@@ -1061,7 +1061,7 @@ Copied from `icomplete-exhibit' with two changes: ...@@ -1061,7 +1061,7 @@ Copied from `icomplete-exhibit' with two changes:
2. It calls my completion routine rather than the standard completion." 2. It calls my completion routine rather than the standard completion."
(if iswitchb-use-mycompletion (if iswitchb-use-mycompletion
(let ((contents (buffer-substring (point-min)(point-max))) (let ((contents (buffer-string))
(buffer-undo-list t)) (buffer-undo-list t))
(save-excursion (save-excursion
(goto-char (point-max)) (goto-char (point-max))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment