[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Using aspell in emacs
From: |
Jean Louis |
Subject: |
Re: Using aspell in emacs |
Date: |
Wed, 16 Jun 2021 00:34:22 +0300 |
User-agent: |
Mutt/2.0.7+183 (3d24855) (2021-05-28) |
* Emanuel Berg via Users list for the GNU Emacs text editor
<help-gnu-emacs@gnu.org> [2021-06-16 00:27]:
> Jean Louis wrote:
>
> > I have verified it, if program `aspell' is on system, the
> > variable `ispell-program-name' will be set to its path.
> > Finished there.
>
> OK, how does that happen one might wonder?
(defcustom ispell-program-name
(or (executable-find "aspell")
(executable-find "ispell")
(executable-find "hunspell")
;; Enchant is commonly installed as `enchant-2', so use this
;; name and avoid old versions of `enchant'.
(executable-find "enchant-2")
"ispell")
"Program invoked by \\[ispell-word] and \\[ispell-region] commands."
:type 'string
:set (lambda (symbol value)
(set-default symbol value)
(if (featurep 'ispell)
(ispell-set-spellchecker-params))))
--
Jean
Take action in Free Software Foundation campaigns:
https://www.fsf.org/campaigns
In support of Richard M. Stallman
https://stallmansupport.org/
- Using aspell in emacs, (continued)