From 53fc914f80ef833cf70bb3b43ab752f011acb4ba Mon Sep 17 00:00:00 2001 From: =?utf8?q?Agust=C3=ADn=20Mart=C3=ADn?= Date: Mon, 5 Nov 2012 17:32:35 +0100 Subject: [PATCH] ispell.el (ispell-program-name): Update spellchecker parameters when customized. --- lisp/ChangeLog | 5 +++++ lisp/textmodes/ispell.el | 4 ++++ 2 files changed, 9 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 09f3a586b4f..72ccfb4caf6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2012-11-05 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-program-name): Update + spellchecker parameters when customized. + 2012-11-04 Glenn Morris * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn. (Bug#7850) diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index d591dc5fa85..de60ac37d9e 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -357,6 +357,10 @@ Must be greater than 1." "ispell") "Program invoked by \\[ispell-word] and \\[ispell-region] commands." :type 'string + :set (lambda (symbol value) + (set-default symbol value) + (if (featurep 'ispell) + (ispell-set-spellchecker-params))) :group 'ispell) (defcustom ispell-alternate-dictionary -- 2.39.5