Commits

viteno  committed 3ddcd29

Don't trash ispell-dictionary, Aidan Kehoe <kehoea@parhasard.net>,
<16872.14694.532105.628849@parhasard.net>.

  • Participants
  • Parent commits cae4625

Comments (0)

Files changed (2)

+2005-01-14  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* ispell.el (ispell-change-dictionary): Don't necessarily nuke
+	ispell-dictionary on every call from
+	ispell-buffer-local-dict. This allows the advertised method of
+	defaulting the dictionary--
+
+	  (setq ispell-dictionary "language-name")
+
+	--to actually work.
+
 2004-01-14  Norbert Koch  <viteno@xemacs.org>
 
 	* Makefile (VERSION): XEmacs package 1.29 released.
 	(t				; reset dictionary!
 	 (if (assoc dict ispell-dictionary-alist)
 	     (progn
-	       (if (or arg (null dict))	; set default dictionary
+	       (if (and arg dict)	; set default dictionary
 		   (setq ispell-dictionary dict))
 	       (if (null arg)		; set local dictionary
 		   (setq ispell-local-dictionary dict)))