Make the wordnut configuration more resilient
This commit is contained in:
parent
7265a52214
commit
4732440144
@ -2656,9 +2656,12 @@ the [[https://github.com/gromnitsky/wordnut#readme][wordnut]] prerequisites.
|
||||
#+caption: System check for =wordnut=.
|
||||
#+name: lst:check-wordnut
|
||||
#+begin_src emacs-lisp
|
||||
(when (and (ensure-package-installation 'wordnut)
|
||||
(executable-find "wn"))
|
||||
(message "`wordnut' fails to find the `wn' executable"))
|
||||
(when (ensure-package-installation 'wordnut)
|
||||
(with-eval-after-load 'wordnut
|
||||
(if-let ((wn (executable-find "wn")))
|
||||
(custom-set-variables
|
||||
'(wordnut-cmd wn))
|
||||
(message "`wordnut' fails to find the `wn' executable"))))
|
||||
#+end_src
|
||||
|
||||
*** [[https://github.com/bnbeckwith/writegood-mode#readme][Writegood mode]]
|
||||
|
Loading…
x
Reference in New Issue
Block a user