From: Agustín Martín Date: Mon, 28 May 2012 14:36:27 +0000 (+0200) Subject: textmodes/ispell.el: Fix variable name. Show spellchecker on process start. X-Git-Tag: emacs-24.2.90~471^2~6^2~70 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cab9efc05afe98ea521296c1c5ea2b4243f657d;p=emacs.git 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. --- diff --git a/lisp/ChangeLog b/lisp/ChangeLog index a9404dd2779..c95ffe0eb93 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,11 @@ +2012-05-28 Agustín Martín Domingo + + * textmodes/ispell.el (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. + 2012-05-28 Stefan Monnier * progmodes/vhdl-mode.el: Sync with upstream 3.33.28. 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.") ;; Ensure aspell's alias dictionary will override standard ;; definitions. (setq found (ispell-aspell-add-aliases found)) - ;; Merge into FOUND any elements from the standard ispell-dictionary-alist + ;; Merge into FOUND any elements from the standard ispell-dictionary-base-alist ;; which have no element in FOUND at all. - (dolist (dict ispell-dictionary-alist) + (dolist (dict ispell-dictionary-base-alist) (unless (assoc (car dict) found) (setq found (nconc found (list dict))))) (setq ispell-aspell-dictionary-alist found) @@ -2707,7 +2707,8 @@ Keeps argument list for future Ispell invocations for no async support." (setq ispell-filter nil ispell-filter-continue nil) ;; may need to restart to select new personal dictionary. (ispell-kill-ispell t) - (message "Starting new Ispell process [%s] ..." + (message "Starting new Ispell process [%s::%s] ..." + ispell-program-name (or ispell-local-dictionary ispell-dictionary "default")) (sit-for 0) (setq ispell-library-directory (ispell-check-version)