Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion dirvish.el
Original file line number Diff line number Diff line change
Expand Up @@ -1251,7 +1251,8 @@ INHIBIT-SETUP is passed to `dirvish-data-for-dir'."
(condition-case err
(setq data (with-current-buffer pb (read (buffer-string))))
(error (message "Fetch dir data failed with error: %s" err)))
(when (buffer-live-p buf)
(when (and (buffer-live-p buf)
(listp data))
(with-current-buffer buf
(when-let* ((attrs (cdr data)) ((hash-table-p attrs)))
(maphash (lambda (k v) (puthash k v dirvish--dir-data)) attrs))
Expand Down