1
0
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:
Richard M. Stallman 1995-09-17 14:12:02 +00:00
parent 0745dce924
commit baf9b8c4a3

View File

@ -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)