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:
parent
eabac8252e
commit
c1ea301b75
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user