|
From: | Marco Wahl |
Subject: | Re: How to visit a file and kill the current buffer? |
Date: | Sun, 10 Sep 2017 20:15:08 +0200 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) |
Mario Castelán Castro <marioxcc.MT@yandex.com> writes: > Is there a way to visit a file in the current window and at the same > time kill the previous buffer that occupied the current window? There is `find-alternate-file' which meets your requirements AFAICS. I use it mostly from dired buffers where the function (actually `dired-find-alternate-file') is bound to "a". Ciao Marco https://marcowahl.github.io
[Prev in Thread] | Current Thread | [Next in Thread] |