diff options
author | Case Duckworth | 2021-08-10 14:46:10 -0500 |
---|---|---|
committer | Case Duckworth | 2021-08-10 14:46:10 -0500 |
commit | aec8e509f41d4decc4997455b875581a391d22ef (patch) | |
tree | 7d5e06b68d66231b372c8f63254ad32863679497 | |
parent | Merge branch 'main' of tildegit.org:acdw/emacs (diff) | |
download | emacs-aec8e509f41d4decc4997455b875581a391d22ef.tar.gz emacs-aec8e509f41d4decc4997455b875581a391d22ef.zip |
Change acdw/system call to executable-find
It's better this way.
-rw-r--r-- | init.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el index f1f3b3e..e495803 100644 --- a/init.el +++ b/init.el | |||
@@ -458,7 +458,7 @@ like a dumbass." | |||
458 | ((called-interactively-p) | 458 | ((called-interactively-p) |
459 | (message "Non-text or -prog mode. Run `flyspell-mode'.")))) | 459 | (message "Non-text or -prog mode. Run `flyspell-mode'.")))) |
460 | 460 | ||
461 | (when (acdw/system :home) | 461 | (when (executable-find ispell-program-name) |
462 | (add-hook 'change-major-mode-hook #'flyspell-start)) | 462 | (add-hook 'change-major-mode-hook #'flyspell-start)) |
463 | 463 | ||
464 | (:when-loaded | 464 | (:when-loaded |