diff lisp/textmodes/ispell.el @ 90609:bb0e318b7c53

Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 447-459) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 141-144) - Merge from emacs--devo--0 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-115
author Miles Bader <miles@gnu.org>
date Tue, 03 Oct 2006 05:04:21 +0000
parents 858cb33ae39d 30dd192351cc
children 02cf29720f31
line wrap: on
line diff
--- a/lisp/textmodes/ispell.el	Mon Oct 02 08:05:25 2006 +0000
+++ b/lisp/textmodes/ispell.el	Tue Oct 03 05:04:21 2006 +0000
@@ -2583,8 +2583,9 @@
   (cond ((equal dict "")
 	 (ispell-internal-change-dictionary)
 	 (message "Using %s dictionary"
-		  (or ispell-local-dictionary ispell-dictionary "default")))
-	((equal dict (or ispell-local-dictionary
+		  (or (and (not arg) ispell-local-dictionary)
+		      ispell-dictionary "default")))
+	((equal dict (or (and (not arg) ispell-local-dictionary)
 			 ispell-dictionary "default"))
 	 ;; Specified dictionary is the default already. Could reload
 	 ;; the dictionaries if needed.