app/write: refactor

Removed autoloads that are already defined by packages.
This commit is contained in:
Henrik Lissner 2018-07-31 18:41:34 +02:00
parent fb3d385211
commit a7bef8ec88
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 6 additions and 21 deletions

View file

@ -23,11 +23,9 @@
:when (featurep! +langtool)
:commands (langtool-check
langtool-check-done
langtool-switch-default-language
langtool-show-message-at-point
langtool-correct-buffer)
:init
(setq langtool-default-language "en-US")
:init (setq langtool-default-language "en-US")
:config
(defvar langtool-language-tool-jar
(cond (IS-MAC
@ -39,25 +37,12 @@
"/usr/share/java/languagetool/languagetool-commandline.jar"))))
(def-package! wordnut
:when (featurep! +wordnut)
:commands (wordnut-search
wordnut-lookup-current-word))
;; `synosaurus'
(setq synosaurus-choose-method 'default)
(def-package! synosaurus
:commands (synosaurus-mode
synosaurus-lookup
synosaurus-choose-and-replace)
:config
(setq synosaurus-choose-method 'default))
(def-package! synosaurus-wordnet
:commands synosaurus-backend-wordnet)
(def-package! mixed-pitch
:config
;; `mixed-pitch'
(after! mixed-pitch
(setq mixed-pitch-fixed-pitch-faces
(append mixed-pitch-fixed-pitch-faces
'(org-todo-keyword-todo