[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills origin
From: |
Lars Ingebrigtsen |
Subject: |
bug#16024: 24.3.50; [PATCH] `switch-to-buffer*': prefix arg kills original buffer |
Date: |
Tue, 11 Feb 2014 03:56:31 -0800 |
User-agent: |
Gnus/5.13001 (Ma Gnus v0.10) Emacs/24.3.50 (gnu/linux) |
Drew Adams <drew.adams@oracle.com> writes:
>> > The attached patch makes `switch-to-buffer(-other-(window|frame))'
>> > with a prefix arg act analogously to `find-alternate-file': the
>> > buffer current before the switch is killed.
>>
>> Hm... what's the use case?
>
> Just what it says: kill the current buffer and switch to another.
>
> Same use case as for `find-alternate-file', but for any buffer,
> not just a file buffer.
Adding a prefix to a gazillion buffer switching commands (to kill the
buffer you're in) doesn't seem like a "use case".
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog http://lars.ingebrigtsen.no/