From 1ba7d23c52eae07f27cb7453d13ea7fc47c82a77 Mon Sep 17 00:00:00 2001 From: Nicolas Goaziou Date: Sun, 22 Feb 2015 11:41:01 +0100 Subject: [PATCH] Small fix * lisp/org.el (org-mode-flyspell-verify): Small fix. --- lisp/org.el | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index bfea71cc7..ae0fcfd75 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. -- 2.11.4.GIT