fix: use environment variable for emacs wordlist

This commit is contained in:
Swarsel 2024-07-29 17:12:39 +02:00
parent d3a253c1b3
commit 747f160eea
Signed by: swarsel
GPG key ID: 26A54C31F2A4FD84
2 changed files with 2 additions and 2 deletions

View file

@ -596,7 +596,7 @@ create a new one."
(global-evil-surround-mode 1))
;; set the NixOS wordlist by hand
(setq ispell-alternate-dictionary "/nix/store/gjmvnbs97cnw19wnqh9m075cdbhy8r8g-wordlist-WORDLIST")
(setq ispell-alternate-dictionary (getenv "WORDLIST"))
(dolist (face '(default fixed-pitch))
(set-face-attribute face nil