summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-22 11:41:01 +0100
committerNicolas Goaziou <mail@nicolasgoaziou.fr>2015-02-22 11:41:01 +0100
commit1ba7d23c52eae07f27cb7453d13ea7fc47c82a77 (patch)
tree631e50563ae59b61c0d52093ac9b2b8011ea4b0f
parentf79bc6d6c63ab6b1eb388e163aae04e2cac9ddaa (diff)
downloadorg-mode-1ba7d23c52eae07f27cb7453d13ea7fc47c82a77.tar.gz
Small fix
* lisp/org.el (org-mode-flyspell-verify): Small fix.
-rwxr-xr-xlisp/org.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/org.el b/lisp/org.el
index bfea71c..ae0fcfd 100755
--- a/lisp/org.el
+++ b/lisp/org.el
@@ -24810,9 +24810,8 @@ ELEMENT is the element at point."
(keyword
(and (member (org-element-property :key element)
'("DESCRIPTION" "TITLE"))
- (< (save-excursion
- (beginning-of-line) (search-forward ":") (point))
- (point))))
+ (save-excursion
+ (search-backward ":" (line-beginning-position) t))))
;; Check is globally allowed in paragraphs verse blocks and
;; table rows (after affiliated keywords) but some objects
;; must not be affected.