[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: aspell dictionaries not initialized properly
From: |
Richard Stallman |
Subject: |
Re: aspell dictionaries not initialized properly |
Date: |
Fri, 19 Jan 2007 05:43:31 -0500 |
--- 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.