On 25.5.2013, at 09:17, Trevor Murphy wrote:
>
> Hi, list.
>
> I recently started using flyspell, but I wasn't pleased with the spell
> checking in my source code blocks. After digging a bit for a
> solution, I found a post to the list with a nice solution[0].
> However, it seems no patch was
Bastien writes:
> Hi Trevor,
>
> Trevor Murphy writes:
>
>> + (not (eq (org-element-type (org-element-at-point)) 'src-block)
>
> I think `org-in-src-block-p', while a bit less reliable, will be
> faster, and reliable/fast enough for this use-case.
>
> Let's see what others think/test.
F
Thanks, Bastien. Your suggestion has been working perfectly fine for me.
Updated patch sent in reply to the first in the chain (I hope ... still
trying to master git send-email).
Trevor
On Sat, May 25, 2013 at 11:52 AM, Bastien wrote:
> Hi Trevor,
>
> Trevor Murphy writes:
>
> > + (not
Hi Trevor,
Trevor Murphy writes:
> + (not (eq (org-element-type (org-element-at-point)) 'src-block)
I think `org-in-src-block-p', while a bit less reliable, will be
faster, and reliable/fast enough for this use-case.
Let's see what others think/test.
Thanks,
--
Bastien
Ack, what? Please disregard, I slipped a double negative in somehow.
On Sat, May 25, 2013 at 3:17 AM, Trevor Murphy wrote:
> * lisp/org.el (org-mode-flyspell-verify): Check if
> `org-element-at-point' is of type `src-block', and don't flyspell if
> that's the case.
>
> TINYCHANGE
> ---
> l