Browse Source

Merge branch 'maint'

Achim Gratz 9 years ago
parent
commit
750e0f91a2
1 changed files with 4 additions and 1 deletions
  1. 4 1
      lisp/org.el

+ 4 - 1
lisp/org.el

@@ -5804,7 +5804,10 @@ prompted for."
   (let (f hl)
     (when (and (re-search-forward (concat org-plain-link-re) limit t)
 	       (not (member 'org-tag
-			    (get-text-property (1- (match-beginning 0)) 'face)))
+			    (get-text-property (cond
+                                                ((= 1 (match-beginning 0)) 1)
+                                                (t (1- (match-beginning 0))))
+                                               'face)))
 	       (not (org-in-src-block-p)))
       (org-remove-flyspell-overlays-in (match-beginning 0) (match-end 0))
       (setq f (get-text-property (match-beginning 0) 'face))