changeset 94249:982b68f17589

(Fswitch_to_buffer): Change interactive spec to call read-buffer-to-switch instead of using the letter "B".
author Juri Linkov <juri@jurta.org>
date Tue, 22 Apr 2008 19:48:45 +0000
parents 63d5fa94ea09
children 43cd713cec44
files src/buffer.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/buffer.c	Tue Apr 22 19:48:02 2008 +0000
+++ b/src/buffer.c	Tue Apr 22 19:48:45 2008 +0000
@@ -1767,7 +1767,8 @@
   return buf;
 }
 
-DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2, "BSwitch to buffer: ",
+DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2,
+       "(list (read-buffer-to-switch \"Switch to buffer: \"))",
        doc: /* Select buffer BUFFER in the current window.
 If BUFFER does not identify an existing buffer,
 then this function creates a buffer with that name.