diff options
Diffstat (limited to 'lisp/textmodes')
| -rw-r--r-- | lisp/textmodes/ispell.el | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el index c403422801f..d5171125ae8 100644 --- a/lisp/textmodes/ispell.el +++ b/lisp/textmodes/ispell.el | |||
| @@ -1,6 +1,7 @@ | |||
| 1 | ;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2 | 1 | ;;; ispell.el --- interface to International Ispell Versions 3.1 and 3.2 |
| 2 | 2 | ||
| 3 | ;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. | 3 | ;; Copyright (C) 1994, 1995, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2005 |
| 4 | ;; Free Software Foundation, Inc. | ||
| 4 | 5 | ||
| 5 | ;; Author: Ken Stevens <k.stevens@ieee.org> | 6 | ;; Author: Ken Stevens <k.stevens@ieee.org> |
| 6 | ;; Maintainer: Ken Stevens <k.stevens@ieee.org> | 7 | ;; Maintainer: Ken Stevens <k.stevens@ieee.org> |
| @@ -2449,7 +2450,7 @@ With prefix argument, set the default dictionary." | |||
| 2449 | "Update the dictionary actually used by Ispell. | 2450 | "Update the dictionary actually used by Ispell. |
| 2450 | This may kill the Ispell process; if so, | 2451 | This may kill the Ispell process; if so, |
| 2451 | a new one will be started when needed." | 2452 | a new one will be started when needed." |
| 2452 | (let ((dict (or ispell-local-dictionary ispell-dictionary "default"))) | 2453 | (let ((dict (or ispell-local-dictionary ispell-dictionary))) |
| 2453 | (unless (equal ispell-current-dictionary dict) | 2454 | (unless (equal ispell-current-dictionary dict) |
| 2454 | (setq ispell-current-dictionary dict) | 2455 | (setq ispell-current-dictionary dict) |
| 2455 | (ispell-kill-ispell t)))) | 2456 | (ispell-kill-ispell t)))) |