forked from mirrors/org-mode
Fix logic when activating plain links
* lisp/org.el: Activate plain link when point is outside a tag, instead of the other way around. TINYCHANGE
This commit is contained in:
parent
73c59ca4ff
commit
7b9f2fba66
|
@ -5854,7 +5854,7 @@ prompted for."
|
|||
(let ((face (get-text-property (max (1- (match-beginning 0)) (point-min))
|
||||
'face))
|
||||
(link (org-match-string-no-properties 0)))
|
||||
(when (if (consp face) (memq 'org-tag face) (eq 'org-tag face))
|
||||
(unless (if (consp face) (memq 'org-tag face) (eq 'org-tag face))
|
||||
(org-remove-flyspell-overlays-in (match-beginning 0) (match-end 0))
|
||||
(add-text-properties (match-beginning 0) (match-end 0)
|
||||
(list 'mouse-face 'highlight
|
||||
|
|
Loading…
Reference in a new issue