Is there an easy way to disable mouse-3 (right click) from killing selected regions? I didn't see anything in the customize options that looked like it would do it. Wouldn't mind disabling middle button click paste as well.

  • 2
    Does this answer your question? How to unbind a key?
    – Drew
    Apr 7 at 20:58
  • You're right, @Drew, I meant kill. The other does answer my question, but I do not know how long it would have taken me to realize that on my own; I wasn't thinking in terms of unbinding a key from an action so much as setting an option for whatever functionality is bound to mouse-3 by default.
    – Jacob Lee
    Apr 8 at 21:54
  • 1
    Edited title per your comment: kill, not yank.
    – Drew
    Apr 8 at 22:18

1 Answer 1


I guess (global-set-key [mouse-3] nil) should do it


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.