--- 2607,2616 ----
(mapcar 'list (ispell-valid-dictionary-list)))
nil t)
current-prefix-arg))
+ (unless (called-interactively-p)
+ ;; If interactive, `ispell-valid-dictionary-list' has already set up
+ ;; aspell ditionaries.
+ (ispell-maybe-find-aspell-dictionaries))
(unless arg (ispell-buffer-local-dict 'no-reload))
It would be simpler to call ispell-maybe-find-aspell-dictionaries
unconditionally. It does nothing if the job is already done, right?
I think that would be cleaner.
Aside from that, this clearly can't hurt anything, so if it fixes the
bug, please install it.
_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug