]> git.eshelyaron.com Git - emacs.git/commit
find-buffer-visiting: Fix test breakage introduced in b7a737ef49
authorIhor Radchenko <yantar92@posteo.net>
Sat, 30 Dec 2023 10:31:51 +0000 (11:31 +0100)
committerEli Zaretskii <eliz@gnu.org>
Sat, 30 Dec 2023 11:02:05 +0000 (13:02 +0200)
commit46a93aa7b0753e7e1ba7c557709b2680ebb24fde
tree457622c69ec887a43201644249ef67e3dee5cd19
parent5f80541fbc46a7854da00b0f8e67c0daa89d454a
find-buffer-visiting: Fix test breakage introduced in b7a737ef49

* lisp/files.el (find-buffer-visiting): Fix code branch checking for
buffers referring to the same file number.  We should check the found
buffer with the file number, not current.

Link: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66117#412
lisp/files.el