diff --git a/SwarselSystems.org b/SwarselSystems.org index 55c919b..8568e93 100644 --- a/SwarselSystems.org +++ b/SwarselSystems.org @@ -9103,7 +9103,7 @@ This should setup a wordlist that can be used as a dictionary. However, for some #+begin_src emacs-lisp ;; set the NixOS wordlist by hand - (setq ispell-alternate-dictionary "/nix/store/gjmvnbs97cnw19wnqh9m075cdbhy8r8g-wordlist-WORDLIST") + (setq ispell-alternate-dictionary (getenv "WORDLIST")) #+end_src diff --git a/programs/emacs/init.el b/programs/emacs/init.el index 82fd354..ae60ef4 100644 --- a/programs/emacs/init.el +++ b/programs/emacs/init.el @@ -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