Make xkcd's cache dir if it doesn't exist
This commit is contained in:
parent
444963b4d8
commit
516d3fdc8a
|
@ -1984,6 +1984,8 @@ We want to set this up so it loads nicely in [[*Extra links][Extra links]].
|
|||
:config
|
||||
(setq xkcd-cache-dir (expand-file-name "xkcd/" doom-cache-dir)
|
||||
xkcd-cache-latest (concat xkcd-cache-dir "latest"))
|
||||
(unless (file-exists-p xkcd-cache-dir)
|
||||
(make-directory xkcd-cache-dir))
|
||||
(after! evil-snipe
|
||||
(add-to-list 'evil-snipe-disabled-modes 'xkcd-mode))
|
||||
:general (:states 'normal
|
||||
|
|
Loading…
Reference in New Issue