emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r110807: ispell.el (ispell-program-na


From: Agustin Martin
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r110807: ispell.el (ispell-program-name): Update spellchecker parameters when customized.
Date: Mon, 05 Nov 2012 17:32:35 +0100
User-agent: Bazaar (2.5.0)

------------------------------------------------------------
revno: 110807
committer: Agustin Martin <address@hidden>
branch nick: trunk
timestamp: Mon 2012-11-05 17:32:35 +0100
message:
  ispell.el (ispell-program-name): Update spellchecker parameters when 
customized.
modified:
  lisp/ChangeLog
  lisp/textmodes/ispell.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2012-11-04 04:13:13 +0000
+++ b/lisp/ChangeLog    2012-11-05 16:32:35 +0000
@@ -1,3 +1,8 @@
+2012-11-05  Agustín Martín Domingo  <address@hidden>
+
+       * textmodes/ispell.el (ispell-program-name): Update
+       spellchecker parameters when customized.
+
 2012-11-04  Glenn Morris  <address@hidden>
 
        * vc/vc-svn.el (vc-svn-state-heuristic): Avoid calling svn.  (Bug#7850)

=== modified file 'lisp/textmodes/ispell.el'
--- a/lisp/textmodes/ispell.el  2012-10-13 09:51:59 +0000
+++ b/lisp/textmodes/ispell.el  2012-11-05 16:32:35 +0000
@@ -357,6 +357,10 @@
       "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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]