[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#54865: 29.0.50; Unclear docstring 'switch-to-buffer'
From: |
Lars Ingebrigtsen |
Subject: |
bug#54865: 29.0.50; Unclear docstring 'switch-to-buffer' |
Date: |
Tue, 12 Apr 2022 12:23:47 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
>> "If BUFFER-OR-NAME is a string that does not identify an
>> existing buffer, create a buffer with that name."
>>
>> However, this is only true when called interactively.
>
> How so? Seems to be true when called from Lisp also,
> AFAICT.
Yup. `M-: (switch-to-buffer "lalalala") RET' behaves as the paragraph
describes, as far as I can tell.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no