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