Hi Sébastien,

Sebastien Vauban <sva-news-D0wtAvR13HarG/idocf...@public.gmane.org>
writes:

> I do that with:
>
>     (add-hook 'text-mode-hook
>               (lambda ()
>                 (message "Turning on Flyspell in buffer `%s'" (buffer-name))
>                 (flyspell-mode 1)))
>
> Though, as you can see, that has the perverse impact that Flyspell gets
> called (even multiple times) during the export process, when creating
> copies of the source Org document:

>From master, you can check against `org-babel-exp-reference-buffer' to
see if you are currently exporting, and then activate flyspell-mode only
if you're not.

HTH,

-- 
 Bastien


Reply via email to