From 7b9f2fba66a36ac7d94a99305e917091c5f9d45f Mon Sep 17 00:00:00 2001 From: Rafael Laboissiere Date: Mon, 25 Jan 2016 17:09:23 +0100 Subject: [PATCH] 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 --- lisp/org.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lisp/org.el b/lisp/org.el index f36346b29..574249156 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -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