diff options
| author | Gerd Moellmann | 1999-09-12 20:21:47 +0000 |
|---|---|---|
| committer | Gerd Moellmann | 1999-09-12 20:21:47 +0000 |
| commit | c1ea301b758936af5cc061eee450dec203af0b5e (patch) | |
| tree | fbf73551d7a20f1139f7128566141e68b2b00f1c | |
| parent | eabac8252e67333eb565bf6be8cd910173db5b0a (diff) | |
| download | emacs-c1ea301b758936af5cc061eee450dec203af0b5e.tar.gz emacs-c1ea301b758936af5cc061eee450dec203af0b5e.zip | |
(iswitchb-exhibit): Use buffer-string instead
of buffer-substring because buffer-string doesn't copy the
prompt.
| -rw-r--r-- | lisp/iswitchb.el | 2 |
1 files changed, 1 insertions, 1 deletions
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: | |||
| 1061 | 2. It calls my completion routine rather than the standard completion." | 1061 | 2. It calls my completion routine rather than the standard completion." |
| 1062 | 1062 | ||
| 1063 | (if iswitchb-use-mycompletion | 1063 | (if iswitchb-use-mycompletion |
| 1064 | (let ((contents (buffer-substring (point-min)(point-max))) | 1064 | (let ((contents (buffer-string)) |
| 1065 | (buffer-undo-list t)) | 1065 | (buffer-undo-list t)) |
| 1066 | (save-excursion | 1066 | (save-excursion |
| 1067 | (goto-char (point-max)) | 1067 | (goto-char (point-max)) |