On 1.6.2013, at 08:15, Carsten Dominik <carsten.domi...@gmail.com> wrote:
> Hi Trevor, > > have you noticed an impact of this patch on normal typing performance? > This is something we need to be extremely careful about. Sorry, I see that Matt has already done some profiling. OK, I have applied this patch - lets see how it behaves. - Carsten > > - Carsten > > On 30.5.2013, at 02:49, Trevor Murphy <trevor.m.mur...@gmail.com> wrote: > >> * lisp/org.el (org-mode-flyspell-verify): Add check for >> `org-in-src-block-p'. >> >> TINYCHANGE >> --- >> lisp/org.el | 3 ++- >> 1 file changed, 2 insertions(+), 1 deletion(-) >> >> diff --git a/lisp/org.el b/lisp/org.el >> index 94078f9..77de2d7 100644 >> --- a/lisp/org.el >> +++ b/lisp/org.el >> @@ -23596,7 +23596,8 @@ To get rid of the restriction, use >> \\[org-agenda-remove-restriction-lock]." >> (not (member-ignore-case word (org-get-export-keywords))) >> (not (member-ignore-case >> word (mapcar 'car org-element-block-name-alist))) >> - (not (member-ignore-case word '("BEGIN" "END" "ATTR")))))) >> + (not (member-ignore-case word '("BEGIN" "END" "ATTR"))) >> + (not (org-in-src-block-p))))) >> >> (defun org-remove-flyspell-overlays-in (beg end) >> "Remove flyspell overlays in region." >> -- >> 1.8.3 >> >> >