mirror of
https://github.com/Swarsel/.dotfiles.git
synced 2025-12-06 09:07:21 +01:00
fix: use environment variable for emacs wordlist
This commit is contained in:
parent
d3a253c1b3
commit
747f160eea
2 changed files with 2 additions and 2 deletions
|
|
@ -9103,7 +9103,7 @@ This should setup a wordlist that can be used as a dictionary. However, for some
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
|
|
||||||
;; set the NixOS wordlist by hand
|
;; set the NixOS wordlist by hand
|
||||||
(setq ispell-alternate-dictionary "/nix/store/gjmvnbs97cnw19wnqh9m075cdbhy8r8g-wordlist-WORDLIST")
|
(setq ispell-alternate-dictionary (getenv "WORDLIST"))
|
||||||
|
|
||||||
#+end_src
|
#+end_src
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -596,7 +596,7 @@ create a new one."
|
||||||
(global-evil-surround-mode 1))
|
(global-evil-surround-mode 1))
|
||||||
|
|
||||||
;; set the NixOS wordlist by hand
|
;; 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))
|
(dolist (face '(default fixed-pitch))
|
||||||
(set-face-attribute face nil
|
(set-face-attribute face nil
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue