aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2019-10-14 06:08:19 +0200
committerLars Ingebrigtsen2019-10-14 06:08:19 +0200
commit8aeba640460adbad283d4a18f91cce8e0364c40d (patch)
treea03ade537d8b6c5a307a660434475e98f0931c4f
parentf521225736b2a6ab38bb94298fb4d3ace3d9a9ec (diff)
downloademacs-8aeba640460adbad283d4a18f91cce8e0364c40d.tar.gz
emacs-8aeba640460adbad283d4a18f91cce8e0364c40d.zip
Tweak ispell-init-process messaging
* lisp/textmodes/ispell.el (ispell-init-process): Output a "done" after the "starting" message (bug#12828).
-rw-r--r--lisp/textmodes/ispell.el30
1 files changed, 17 insertions, 13 deletions
diff --git a/lisp/textmodes/ispell.el b/lisp/textmodes/ispell.el
index c1b21fdd2eb..be2e192e5af 100644
--- a/lisp/textmodes/ispell.el
+++ b/lisp/textmodes/ispell.el
@@ -2876,19 +2876,23 @@ Keeps argument list for future Ispell invocations for no async support."
2876 (setq ispell-filter nil ispell-filter-continue nil) 2876 (setq ispell-filter nil ispell-filter-continue nil)
2877 ;; may need to restart to select new personal dictionary. 2877 ;; may need to restart to select new personal dictionary.
2878 (ispell-kill-ispell t) 2878 (ispell-kill-ispell t)
2879 (message "Starting new Ispell process %s with %s dictionary..." 2879 (let ((reporter
2880 ispell-program-name 2880 (make-progress-reporter
2881 (or ispell-local-dictionary ispell-dictionary "default")) 2881 (format "Starting new Ispell process %s with %s dictionary..."
2882 (sit-for 0) 2882 ispell-program-name
2883 (setq ispell-library-directory (ispell-check-version) 2883 (or ispell-local-dictionary ispell-dictionary
2884 ;; Assign a non-nil value to ispell-process-directory 2884 "default")))))
2885 ;; before calling ispell-start-process, since that 2885 (sit-for 0)
2886 ;; function needs it to set default-directory when 2886 (setq ispell-library-directory (ispell-check-version)
2887 ;; ispell-async-processp is nil. 2887 ;; Assign a non-nil value to ispell-process-directory
2888 ispell-process-directory default-directory 2888 ;; before calling ispell-start-process, since that
2889 ispell-process (ispell-start-process) 2889 ;; function needs it to set default-directory when
2890 ispell-filter nil 2890 ;; ispell-async-processp is nil.
2891 ispell-filter-continue nil) 2891 ispell-process-directory default-directory
2892 ispell-process (ispell-start-process)
2893 ispell-filter nil
2894 ispell-filter-continue nil)
2895 (progress-reporter-done reporter))
2892 2896
2893 (unless (equal ispell-process-directory (expand-file-name "~/")) 2897 (unless (equal ispell-process-directory (expand-file-name "~/"))
2894 ;; At this point, `ispell-process-directory' will be "~/" unless using 2898 ;; At this point, `ispell-process-directory' will be "~/" unless using