emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Unconditionally turn off Flyspell mode during export


From: Bastien
Subject: Re: [O] Unconditionally turn off Flyspell mode during export
Date: Tue, 25 Mar 2014 17:23:08 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)


Hi Sébastien,

Sebastien Vauban <sva-news-D0wtAvR13HarG/address@hidden>
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

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