From: Stefan Monnier Date: Thu, 3 Feb 2005 16:20:22 +0000 (+0000) Subject: (ispell-internal-change-dictionary): Fix problem in recent changes, where X-Git-Tag: ttn-vms-21-2-B4~2428 X-Git-Url: https://code.delx.au/gnu-emacs/commitdiff_plain/ca97010c3a44c61515e59340ebf062b3dce6ff9b (ispell-internal-change-dictionary): Fix problem in recent changes, where the ispell process was repeatedly killed & restarted. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 708a20b140..2cf391c480 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,4 +1,8 @@ -2005-02-03 Stefan +2005-02-03 Stefan Monnier + + * textmodes/ispell.el (ispell-internal-change-dictionary): Fix problem + in recent changes, where the ispell process was repeatedly + killed & restarted. * international/mule-cmds.el (set-locale-environment): Set file-name coding system to utf-8 on Darwin systems. diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c403422801..d5171125ae 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el @@ -1,6 +1,7 @@ ;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2 -;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. +;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 +;; Free Software Foundation, Inc. ;; Author: Ken Stevens ;; Maintainer: Ken Stevens @@ -2449,7 +2450,7 @@ With prefix argument, set the default dictionary." "Update the dictionary actually used by Ispell. This may kill the Ispell process; if so, a new one will be started when needed." - (let ((dict (or ispell-local-dictionary ispell-dictionary "default"))) + (let ((dict (or ispell-local-dictionary ispell-dictionary))) (unless (equal ispell-current-dictionary dict) (setq ispell-current-dictionary dict) (ispell-kill-ispell t))))