Commit 06f2bb9c authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

; * lisp/files.el (find-buffer-visiting): Fix whitespace of last change.

parent 46a93aa7
Pipeline #27676 failed with stage
in 4 minutes and 38 seconds
......@@ -2221,14 +2221,16 @@ If there is no such live buffer, return nil."
(and buffer-file-numbers-unique
(car-safe number) ;Make sure the inode is not just nil.
(let* ((buf (find-buffer 'buffer-file-number number))
(buf-file-name (and buf (buffer-local-value 'buffer-file-name buf))))
(buf-file-name
(and buf (buffer-local-value 'buffer-file-name buf))))
(when (and buf-file-name
;; Verify this buffer's file number
;; still belongs to its file.
(file-exists-p buf-file-name)
(equal
(file-attributes (buffer-local-value 'buffer-file-truename buf))
attributes)
(equal (file-attributes
(buffer-local-value
'buffer-file-truename buf))
attributes)
(or (not predicate)
(funcall predicate buf)))
buf))))))))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment