]> git.eshelyaron.com Git - emacs.git/commit
* lisp/files.el (find-alternate-file): Fix the order of restoring buffer.
authorJuri Linkov <juri@linkov.net>
Mon, 22 Apr 2024 06:45:40 +0000 (09:45 +0300)
committerEshel Yaron <me@eshelyaron.com>
Mon, 22 Apr 2024 18:37:45 +0000 (20:37 +0200)
commit4b15be564b1c655c31b53965f1adc6f9e4edda18
tree53ef35167268ec965345f4f9621f57930a12d3fd
parentf5322c318c7890625a6aa45186e23b2fc383d21d
* lisp/files.el (find-alternate-file): Fix the order of restoring buffer.

Swap the order of restoring original buffer's file names and
restoring original's buffer name with 'rename-buffer' (bug#68235).

(cherry picked from commit d51b0d2ebe4d0f55993e8e13f6d35b1eb23abf52)
lisp/files.el