refactor: deprecate doom-etc-dir for doom-data-dir
doom-etc-dir will be renamed to doom-data-dir, to better reflect its purpose, and align it with XDG_DATA_HOME (where it will be moved to in v3, where Doom will begin to obey XDG directory conventions more closely).
This commit is contained in:
parent
a5c80fcb4b
commit
aa54383b5d
28 changed files with 42 additions and 41 deletions
|
@ -41,7 +41,7 @@
|
|||
(unless ispell-personal-dictionary
|
||||
(setq ispell-personal-dictionary
|
||||
(expand-file-name (concat "ispell/" ispell-dictionary ".pws")
|
||||
doom-etc-dir)))
|
||||
doom-data-dir)))
|
||||
|
||||
(add-hook! 'text-mode-hook
|
||||
(defun +spell-remove-run-together-switch-for-aspell-h ()
|
||||
|
@ -128,7 +128,7 @@
|
|||
font-lock-variable-name-face)))
|
||||
"Faces in certain major modes that spell-fu will not spellcheck.")
|
||||
|
||||
(setq spell-fu-directory (concat doom-etc-dir "spell-fu"))
|
||||
(setq spell-fu-directory (concat doom-data-dir "spell-fu"))
|
||||
(when (modulep! +everywhere)
|
||||
(add-hook! '(yaml-mode-hook
|
||||
conf-mode-hook
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue