]> git.eshelyaron.com Git - emacs.git/commit
Make 'buffer-last-name' work better after 'find-alternate-file' (Bug#68235)
authorMartin Rudalics <rudalics@gmx.at>
Mon, 15 Apr 2024 09:17:51 +0000 (11:17 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 20 Apr 2024 11:00:41 +0000 (14:00 +0300)
commit1f4a85fca9371a402b876ec9278358c598711709
tree4c2e914b72c17d4cd59d14cb30dc678687d2069d
parentfd461d955ac4e793d50a8a6ea0bc219f6ab05789
Make 'buffer-last-name' work better after 'find-alternate-file' (Bug#68235)

* lisp/files.el (find-alternate-file): Before killing the previous
buffer, try to restore its name and filenames (Bug#68235).

(cherry picked from commit 9a79db506e39c02daa81629f0b224a86fad2b3c6)
lisp/files.el