Browse Source

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.
Nicolas Goaziou 7 years ago
parent
commit
805f3fd92d
1 changed files with 1 additions and 0 deletions
  1. 1 0
      lisp/org-mouse.el

+ 1 - 0
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)