Mercurial > emacs
diff src/buffer.c @ 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 | b75140e5e267 |
| children | 8971ddf55736 |
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.
