Explorar o código

Merge branch 'maint'

Achim Gratz %!s(int64=9) %!d(string=hai) anos
pai
achega
750e0f91a2
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  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))