From 9af5bdfbc7618160606b7cc1fdbdf77d6c99fa3e Mon Sep 17 00:00:00 2001 From: tastytea Date: Sat, 22 Aug 2020 20:55:23 +0200 Subject: [PATCH] Emacs: Configure more multi dicts. --- init.d/text/common.el | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/init.d/text/common.el b/init.d/text/common.el index 11ada51..22a5905 100644 --- a/init.d/text/common.el +++ b/init.d/text/common.el @@ -1,6 +1,6 @@ ;;; common.el --- Common settings for text files. -*- lexical-binding: t; -*- -;; Time-stamp: <2020-08-22T20:50:31+0200> +;; Time-stamp: <2020-08-22T20:54:31+0200> ;;; Commentary: @@ -86,14 +86,16 @@ ;; spell checking. (use-package ispell :straight nil - ;; Use hunspell with multiple dictionaries if possible. + ;; Use hunspell if possible and configure multiple dictionaries. ;; :config (when (executable-find "hunspell") (customize-set-variable 'ispell-program-name (executable-find "hunspell")) ;; (customize-set-variable 'ispell-dictionary "en_US,de_DE") (ispell-set-spellchecker-params) - (ispell-hunspell-add-multi-dic "en_US,de_DE"))) + (ispell-hunspell-add-multi-dic "en_US,de_DE") + (ispell-hunspell-add-multi-dic "en_GB,de_DE") + (ispell-hunspell-add-multi-dic "de_DE,de_AT,de_CH"))) ;; Interactive spell checking. (unless slow-computer