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.
This commit is contained in:
Nicolas Goaziou 2012-04-22 18:43:55 +02:00
parent 76c38183bb
commit 805f3fd92d

View file

@ -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)