mouse-2 quite often for
mouse-yank-primary. However, if I am at the start of an org-mode headline, instead of yanking from my cut buffer, it toggles the level of the headline. For example, if I have the cursor at the start of a level 1 headline(
| used to represent cursor):
mouse-2 and it becomes:
...instead of yanking the text I want as the headline. Then if I press
mouse-2 again, it becomes a level 1 headline again, and will keep toggling between the two on subsequent presses. How can I change this behavior to yank instead of changing the headline level? Normally I can figure these things out on my own, but I have had trouble in the past when it comes to changing the behavior of mouse buttons.
describe-key before asking this question, and it seemed like
mouse-2 should do what I want, but I just noticed at the bottom of the
describe-key description for the
up-event it says:
<mouse-2>at that spot runs the command (lambda (e) (interactive "e") (mouse-set-point e) (org-cycle)), which is an interactive Lisp function.
It is bound to
I assume this is what is causing my issue, but it doesn't seem clear to me where this is coming from.