diff options
| author | Juri Linkov | 2008-04-22 19:49:26 +0000 |
|---|---|---|
| committer | Juri Linkov | 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.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) | |||
| 1767 | return buf; | 1767 | return buf; |
| 1768 | } | 1768 | } |
| 1769 | 1769 | ||
| 1770 | DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2, "BSwitch to buffer: ", | 1770 | DEFUN ("switch-to-buffer", Fswitch_to_buffer, Sswitch_to_buffer, 1, 2, |
| 1771 | "(list (read-buffer-to-switch \"Switch to buffer: \"))", | ||
| 1771 | doc: /* Select buffer BUFFER in the current window. | 1772 | doc: /* Select buffer BUFFER in the current window. |
| 1772 | If BUFFER does not identify an existing buffer, | 1773 | If BUFFER does not identify an existing buffer, |
| 1773 | then this function creates a buffer with that name. | 1774 | then this function creates a buffer with that name. |