mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-24 07:20:37 +00:00
(find-alternate-file): Kill any preexisting ` **lose**' buf.
This commit is contained in:
parent
0745dce924
commit
baf9b8c4a3
@ -535,6 +535,8 @@ If the current buffer now contains an empty file that you just visited
|
||||
(onum buffer-file-number)
|
||||
(otrue buffer-file-truename)
|
||||
(oname (buffer-name)))
|
||||
(if (get-buffer " **lose**")
|
||||
(kill-buffer " **lose**"))
|
||||
(rename-buffer " **lose**")
|
||||
(setq buffer-file-name nil)
|
||||
(setq buffer-file-number nil)
|
||||
|
Loading…
Reference in New Issue
Block a user