summaryrefslogtreecommitdiff
path: root/lisp/textmodes/ispell.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2006-02-17 10:43:53 +0000
committerEli Zaretskii <eliz@gnu.org>2006-02-17 10:43:53 +0000
commita2a385a7ab3e8936efeda645d4d4a6d1c674d8ea (patch)
treedf1707d1c164324951faa28f730e826a240e4648 /lisp/textmodes/ispell.el
parent554f8e67938c55c2ce9d18aa80e5fffd5cb0e079 (diff)
downloademacs-a2a385a7ab3e8936efeda645d4d4a6d1c674d8ea.tar.gz
(ispell-change-dictionary): Call ispell-buffer-local-dict instead of
ispell-accept-buffer-local-defs.
Diffstat (limited to 'lisp/textmodes/ispell.el')
-rw-r--r--lisp/textmodes/ispell.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 3bf608c2cc0..ea112d6d877 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -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 "")