diff --git a/bundle/bundle--package.el b/bundle/bundle--package.el index 469ccd36..58dc72f5 100644 --- a/bundle/bundle--package.el +++ b/bundle/bundle--package.el @@ -251,15 +251,14 @@ (use-package ispell :ensure nil - :custom - ;; On windows: Copy files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/dict/ooo/ - (ispell-dictionary "german,english") - (ispell-local-dictionary-alist + :config + ;; On windows: Copy files from ~/.emacs.d/dicts/ to c:/msys64/mingw64/share/hunspell/ + (setq ispell-dictionary "german,english") + (setq ispell-local-dictionary-alist '(("german" "[[:alpha:]]" "[^[:alpha:]]" "[']" t ("-d" "de_DE_frami,de_AT_frami,de_CH_frami") nil utf-8) ("english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "en_US,en_GB") nil utf-8) ("german,english" "[[:alpha:]]" "[^[:alpha:]]" "[']" nil ("-d" "de_DE_frami,en_US") nil utf-8))) - (ispell-hunspell-dictionary-alist ispell-local-dictionary-alist) - :config + (setq ispell-hunspell-dictionary-alist ispell-local-dictionary-alist) (if (eq system-type 'windows-nt) (setq ispell-program-name "c:/msys64/mingw64/bin/hunspell.exe") (setq ispell-program-name "hunspell")))