aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorAgustín Martín2012-05-28 16:36:27 +0200
committerAgustín Martín2012-05-28 16:36:27 +0200
commit8cab9efc05afe98ea521296c1c5ea2b4243f657d (patch)
treed942d74e02a56d5dd191e068076e4d880b97ec5c /lisp/textmodes
parente700232f3ef65a156303de28e9a441aaf9a11653 (diff)
downloademacs-8cab9efc05afe98ea521296c1c5ea2b4243f657d.tar.gz
emacs-8cab9efc05afe98ea521296c1c5ea2b4243f657d.zip
textmodes/ispell.el: Fix variable name. Show spellchecker on process start.
* (ispell-find-aspell-dictionaries): Check for `ispell-dictionary-base-alist' instead of full `ispell-dictionary-alist'. * (ispell-init-process): Show spellchecker when starting new Ispell process.
Diffstat (limited to 'lisp/textmodes')
-rw-r--r--lisp/textmodes/ispell.el7
1 files changed, 4 insertions, 3 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index 892f43e09fe..1dd2c9488ba 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -968,9 +968,9 @@ Internal use.")
968 ;; Ensure aspell's alias dictionary will override standard 968 ;; Ensure aspell's alias dictionary will override standard
969 ;; definitions. 969 ;; definitions.
970 (setq found (ispell-aspell-add-aliases found)) 970 (setq found (ispell-aspell-add-aliases found))
971 ;; Merge into FOUND any elements from the standard ispell-dictionary-alist 971 ;; Merge into FOUND any elements from the standard ispell-dictionary-base-alist
972 ;; which have no element in FOUND at all. 972 ;; which have no element in FOUND at all.
973 (dolist (dict ispell-dictionary-alist) 973 (dolist (dict ispell-dictionary-base-alist)
974 (unless (assoc (car dict) found) 974 (unless (assoc (car dict) found)
975 (setq found (nconc found (list dict))))) 975 (setq found (nconc found (list dict)))))
976 (setq ispell-aspell-dictionary-alist found) 976 (setq ispell-aspell-dictionary-alist found)
@@ -2707,7 +2707,8 @@ Keeps argument list for future Ispell invocations for no async support."
2707 (setq ispell-filter nil ispell-filter-continue nil) 2707 (setq ispell-filter nil ispell-filter-continue nil)
2708 ;; may need to restart to select new personal dictionary. 2708 ;; may need to restart to select new personal dictionary.
2709 (ispell-kill-ispell t) 2709 (ispell-kill-ispell t)
2710 (message "Starting new Ispell process [%s] ..." 2710 (message "Starting new Ispell process [%s::%s] ..."
2711 ispell-program-name
2711 (or ispell-local-dictionary ispell-dictionary "default")) 2712 (or ispell-local-dictionary ispell-dictionary "default"))
2712 (sit-for 0) 2713 (sit-for 0)
2713 (setq ispell-library-directory (ispell-check-version) 2714 (setq ispell-library-directory (ispell-check-version)