# HG changeset patch # User Gerd Moellmann # Date 937167707 0 # Node ID 28e2ad53250c4cbf604373383d0e7583054d4677 # Parent e65a0e39a0a961ee87dd71648bea9dcab185e38e (iswitchb-exhibit): Use buffer-string instead of buffer-substring because buffer-string doesn't copy the prompt. diff -r e65a0e39a0a9 -r 28e2ad53250c lisp/iswitchb.el --- 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))