diff options
author | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-02-22 11:41:01 +0100 |
---|---|---|
committer | Nicolas Goaziou <mail@nicolasgoaziou.fr> | 2015-02-22 11:41:01 +0100 |
commit | 1ba7d23c52eae07f27cb7453d13ea7fc47c82a77 (patch) | |
tree | 631e50563ae59b61c0d52093ac9b2b8011ea4b0f | |
parent | f79bc6d6c63ab6b1eb388e163aae04e2cac9ddaa (diff) | |
download | org-mode-1ba7d23c52eae07f27cb7453d13ea7fc47c82a77.tar.gz |
Small fix
* lisp/org.el (org-mode-flyspell-verify): Small fix.
-rwxr-xr-x | lisp/org.el | 5 |
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. |