From 8e22aafe9a8a1206490932cdde5c9f66f1dfefb1 Mon Sep 17 00:00:00 2001 From: Nicolas Richard Date: Wed, 27 Feb 2013 17:55:42 +0100 Subject: [PATCH] Fix b6b509b one more time. --- lisp/org.el | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lisp/org.el b/lisp/org.el index 574c2a876..cc4c93f22 100644 --- a/lisp/org.el +++ b/lisp/org.el @@ -5519,15 +5519,15 @@ by a #." (if (and (re-search-forward org-tsr-regexp-both limit t) (not (equal (char-before (match-beginning 0)) 91))) (progn - (org-remove-flyspell-overlays-in (match-beginning 1) (match-end 1)) - (add-text-properties (match-beginning 1) (match-end 1) + (org-remove-flyspell-overlays-in (match-beginning 0) (match-end 0)) + (add-text-properties (match-beginning 0) (match-end 0) (list 'mouse-face 'highlight 'keymap org-mouse-map)) - (org-rear-nonsticky-at (match-end 1)) + (org-rear-nonsticky-at (match-end 0)) (when org-display-custom-times - (if (match-end 4) - (org-display-custom-time (match-beginning 4) (match-end 4))) - (org-display-custom-time (match-beginning 2) (match-end 2))) + (if (match-end 3) + (org-display-custom-time (match-beginning 3) (match-end 3))) + (org-display-custom-time (match-beginning 1) (match-end 1))) t))) (defvar org-target-link-regexp nil