summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2008-04-22 19:49:26 +0000
committerJuri Linkov <juri@jurta.org>2008-04-22 19:49:26 +0000
commit88970542acc49553255b38913eae8dcd30f42af5 (patch)
tree209bd8b8f32cf2558525cb63545c430f82166209 /src/buffer.c
parente4c0cccf13cebcdbd14d3cd65a982fae0afdc64a (diff)
downloademacs-88970542acc49553255b38913eae8dcd30f42af5.tar.gz
(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.c3
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.