summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNicolas Goaziou <n.goaziou@gmail.com>2012-04-22 18:43:55 +0200
committerNicolas Goaziou <n.goaziou@gmail.com>2012-04-22 18:43:55 +0200
commit805f3fd92d1eff8d3266f443442a8b0025451897 (patch)
tree49677dff983ee6387456c215a75f7e400fbe8416
parent76c38183bb84c9512bc2eef428c30065263b2894 (diff)
downloadorg-mode-805f3fd92d1eff8d3266f443442a8b0025451897.tar.gz
org-mouse: Do not move point when clicking on a footnote reference
* lisp/org-mouse.el (org-mode-hook): Do not move point when clicking on a footnote reference.
-rw-r--r--lisp/org-mouse.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/org-mouse.el b/lisp/org-mouse.el
index 5a87bd6..b467064 100644
--- a/lisp/org-mouse.el
+++ b/lisp/org-mouse.el
@@ -915,6 +915,7 @@ This means, between the beginning of line and the point."
((assq :checkbox context) (org-toggle-checkbox))
((assq :item-bullet context)
(let ((org-cycle-include-plain-lists t)) (org-cycle)))
+ ((org-footnote-at-reference-p) nil)
(t ad-do-it))))))
(defun org-mouse-move-tree-start (event)