]> git.eshelyaron.com Git - emacs.git/commitdiff
(ispell-change-dictionary): Call ispell-buffer-local-dict instead of
authorEli Zaretskii <eliz@gnu.org>
Fri, 17 Feb 2006 10:43:53 +0000 (10:43 +0000)
committerEli Zaretskii <eliz@gnu.org>
Fri, 17 Feb 2006 10:43:53 +0000 (10:43 +0000)
ispell-accept-buffer-local-defs.

lisp/ChangeLog
lisp/textmodes/ispell.el

index ccd78dd8644dd69fcc1d5dddffb8a524ca5386a1..ec4aa9f3048d18b9982192c43d83a3dfd9e747e5 100644 (file)
@@ -1,3 +1,9 @@
+2006-02-17  Agustin Martin  <agustin.martin@hispalinux.es>
+
+       * textmodes/ispell.el (ispell-change-dictionary):  Call
+       ispell-buffer-local-dict instead of
+       ispell-accept-buffer-local-defs.
+
 2006-02-17  Nick Roberts  <nickrob@snap.net.nz>
 
        * speedbar.el (speedbar-frame-width): Make an inline function
index 3bf608c2cc07ef04287e5061da7f058f3fb52472..ea112d6d87754d8a9a0ca07b445db49c7181110a 100644 (file)
@@ -2604,7 +2604,7 @@ By just answering RET you can find out what the current dictionary is."
               (mapcar 'list (ispell-valid-dictionary-list)))
          nil t)
         current-prefix-arg))
-  (unless arg (ispell-accept-buffer-local-defs))
+  (unless arg (ispell-buffer-local-dict))
   (if (equal dict "default") (setq dict nil))
   ;; This relies on completing-read's bug of returning "" for no match
   (cond ((equal dict "")