This repository has been archived on 2024-10-22. You can view files and clone it, but cannot push or open issues or pull requests.
spacemacs/layers/+filetree
duianto 230ea2279f [treemacs] load treemacs-icons-dired-mode earlier
Opening a dired buffer from the Treemacs buffer,
right after starting Spacemacs, shows the error message:
>treemacs-icons-dired--display: Wrong type argument: char-or-string-p, nil

Loading `treemacs-icons-dired-mode` from the `dired-load-hook`,
instead of from the `dired-mode-hook`, seems to fix it.

The `dired-load-hook` docstring says:
>Run after loading Dired.

The `dired-mode-hook` docstring says:
>Run at the very end of ‘dired-mode’.
2020-05-06 20:13:59 +02:00
..
neotree filetrees: remap winum-select-window-0-or-10 2019-05-24 20:55:11 +02:00
treemacs [treemacs] load treemacs-icons-dired-mode earlier 2020-05-06 20:13:59 +02:00