mirror of
https://github.com/vale981/doom-modeline
synced 2025-03-05 09:21:38 -05:00
Fix #422: Emacs freezes continuously after tramp buffer loses connection.
Don't check if the remote files exist.
This commit is contained in:
parent
0c5ce0d0d5
commit
0c2f2f0aa2
1 changed files with 1 additions and 0 deletions
|
@ -293,6 +293,7 @@ Uses `all-the-icons-material' to fetch the icon."
|
|||
'normal
|
||||
'bold))))
|
||||
((and buffer-file-name
|
||||
(not (file-remote-p buffer-file-name)) ; Avoid freezing while connection is lost
|
||||
(not (file-exists-p buffer-file-name)))
|
||||
(doom-modeline-buffer-file-state-icon
|
||||
"do_not_disturb_alt" "🚫" "!" 'doom-modeline-urgent))
|
||||
|
|
Loading…
Add table
Reference in a new issue