From 23cb143ce72ca9374e6c5a6a98d23d3990791224 Mon Sep 17 00:00:00 2001 From: Gergely Polonkai Date: Wed, 30 Jan 2019 08:56:54 +0100 Subject: [PATCH] Properly customize ispell --- configuration.org | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/configuration.org b/configuration.org index 6ba848a..e4bb5b3 100644 --- a/configuration.org +++ b/configuration.org @@ -1433,6 +1433,18 @@ I don’t usually like to see them, but there are occasions when they can be use ("C-n" . display-line-numbers-mode))) #+END_SRC +** Check for spelling errors + +#+BEGIN_SRC emacs-lisp +(use-package ispell + :config + (customize-set-variable 'ispell-dictionary "en_GB") + (customize-set-variable 'ispell-program-name "/usr/bin/aspell") + :hook + (mail-send . ispell-message) + (message-send . ispell-message)) +#+END_SRC + * ~use-package~ packages ** Automatically upgrade packages every week