Mercurial > emacs
changeset 25652:28e2ad53250c
(iswitchb-exhibit): Use buffer-string instead
of buffer-substring because buffer-string doesn't copy the
prompt.
author | Gerd Moellmann <gerd@gnu.org> |
---|---|
date | Sun, 12 Sep 1999 20:21:47 +0000 |
parents | e65a0e39a0a9 |
children | ff17759d9d9f |
files | lisp/iswitchb.el |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/iswitchb.el Sun Sep 12 20:21:46 1999 +0000 +++ b/lisp/iswitchb.el Sun Sep 12 20:21:47 1999 +0000 @@ -1061,7 +1061,7 @@ 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))