Fix flyspell behaviour on verbatim objects

* lisp/org.el (org-do-emphasis-faces): Look for verbatim status at
  correct location.
This commit is contained in:
Nicolas Goaziou 2013-11-03 14:18:19 +01:00
parent e186cc804b
commit d61ce8edd1
1 changed files with 1 additions and 1 deletions

View File

@ -5704,7 +5704,7 @@ The time stamps may be either active or inactive.")
(font-lock-prepend-text-property (match-beginning 2) (match-end 2)
'face
(nth 1 a))
(and (nth 4 a)
(and (nth 2 a)
(org-remove-flyspell-overlays-in
(match-beginning 0) (match-end 0)))
(add-text-properties (match-beginning 2) (match-end 2)