aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJuri Linkov <[email protected]>2008-04-22 19:49:26 +0000
committerJuri Linkov <[email protected]>2008-04-22 19:49:26 +0000
commit88970542acc49553255b38913eae8dcd30f42af5 (patch)
tree209bd8b8f32cf2558525cb63545c430f82166209 /src
parente4c0cccf13cebcdbd14d3cd65a982fae0afdc64a (diff)
(Fswitch_to_buffer): Change interactive spec to call
read-buffer-to-switch instead of using the letter "B".
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/buffer.c3
2 files changed, 7 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index c9bff1a7e2..378718dfc8 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
+2008-04-22 Juri Linkov <[email protected]>
+
+ * 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 <[email protected]>
* fileio.c (Qdefault_directory): New variable.
diff --git a/src/buffer.c b/src/buffer.c
index 8ab1af01f3..cd10bb3579 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.