+2008-04-22 Juri Linkov <juri@jurta.org>
+
+ * buffer.c (Fswitch_to_buffer): Change interactive spec to call
+ read-buffer-to-switch instead of using the letter "B".
+
2008-04-21 Stefan Monnier <monnier@iro.umontreal.ca>
* fileio.c (Qdefault_directory): New variable.
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.