Fix #1456: handle remote PWDs in dashboard
Otherwise, invisible TRAMP authentication prompts would hang Emacs.
This commit is contained in:
parent
bc6c4b3e37
commit
a1c1d8818a
1 changed files with 2 additions and 1 deletions
|
@ -209,7 +209,8 @@ If this is the dashboard buffer, reload it completely."
|
|||
(cond ((+doom-dashboard-p (current-buffer))
|
||||
(let (+doom-dashboard-inhibit-refresh)
|
||||
(ignore-errors (+doom-dashboard-reload))))
|
||||
((doom-real-buffer-p (current-buffer))
|
||||
((and (not (file-remote-p default-directory))
|
||||
(doom-real-buffer-p (current-buffer)))
|
||||
(setq +doom-dashboard--last-cwd default-directory)
|
||||
(+doom-dashboard-update-pwd))))
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue