Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
06f2bb9c
Commit
06f2bb9c
authored
Dec 30, 2023
by
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
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
lisp/files.el
lisp/files.el
+6
-4
No files found.
lisp/files.el
View file @
06f2bb9c
...
...
@@ -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))))))))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment