summaryrefslogtreecommitdiff
path: root/src/buffer.c
diff options
context:
space:
mode:
authorJuri Linkov <juri@jurta.org>2008-04-22 19:48:45 +0000
committerJuri Linkov <juri@jurta.org>2008-04-22 19:48:45 +0000
commitcccf4bcb5fc0491c295ab1e5b930b25f4aa2d7fe (patch)
tree6f55dac739601830654fdc57bc21d5c1dc8828d5 /src/buffer.c
parentf44a7baf2c433442fa695382bc3a22bcf4786ac3 (diff)
downloademacs-cccf4bcb5fc0491c295ab1e5b930b25f4aa2d7fe.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.