help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Selecting spell checking using read-multiple-choice


From: Emanuel Berg
Subject: Re: Selecting spell checking using read-multiple-choice
Date: Tue, 15 Jun 2021 02:29:38 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

henri-biard wrote:

> I want to use ispell and flyspell using read-multiple-choice
> but am not confident enough to use it.
>
> The options will be to use either (ispell),
> (flyspell-buffer), or to turn spell checking off.

Try this:

(funcall
 (intern
  (cadr
   (read-multiple-choice "spell with"
                         '((?i "ispell")
                           (?f "flyspell-buffer")
                           (?q "turn-off-flyspell")) ))))

If you're into spelling:
  https://dataswamp.org/~incal/emacs-init/spell.el  

-- 
underground experts united
https://dataswamp.org/~incal




reply via email to

[Prev in Thread] Current Thread [Next in Thread]