diff options
author | Juri Linkov <juri@jurta.org> | 2008-04-22 19:49:26 +0000 |
---|---|---|
committer | Juri Linkov <juri@jurta.org> | 2008-04-22 19:49:26 +0000 |
commit | 88970542acc49553255b38913eae8dcd30f42af5 (patch) | |
tree | 209bd8b8f32cf2558525cb63545c430f82166209 /src/buffer.c | |
parent | e4c0cccf13cebcdbd14d3cd65a982fae0afdc64a (diff) | |
download | emacs-88970542acc49553255b38913eae8dcd30f42af5.tar.gz emacs-88970542acc49553255b38913eae8dcd30f42af5.tar.bz2 emacs-88970542acc49553255b38913eae8dcd30f42af5.zip |
(Fswitch_to_buffer): Change interactive spec to call
read-buffer-to-switch instead of using the letter "B".
Diffstat (limited to 'src/buffer.c')
-rw-r--r-- | src/buffer.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index 8ab1af01f31..cd10bb35794 100644 --- a/src/buffer.c +++ b/src/buffer.c @@ -1767,7 +1767,8 @@ switch_to_buffer_1 (buffer, norecord) 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. |