From 88970542acc49553255b38913eae8dcd30f42af5 Mon Sep 17 00:00:00 2001 From: Juri Linkov Date: Tue, 22 Apr 2008 19:49:26 +0000 Subject: [PATCH] (Fswitch_to_buffer): Change interactive spec to call read-buffer-to-switch instead of using the letter "B". --- src/ChangeLog | 5 +++++ src/buffer.c | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/src/ChangeLog b/src/ChangeLog index c9bff1a7e29..378718dfc81 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-04-22 Juri Linkov + + * 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 * fileio.c (Qdefault_directory): New variable. 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. -- 2.39.5