简体   繁体   English

如何在emacs中禁用x粘贴

[英]How to disable x paste in emacs

Every single time I highlight something in emacs, it copies it. 每次我在emacs中突出显示某些内容时,都会复制它。 Is there any way to disable this annoying behavior? 有没有办法禁用这种烦人的行为? Im on ubuntu. 我在ubuntu上。

This setting should disable it: 此设置应禁用它:

(setq mouse-drag-copy-region nil)

Documentation for the variable is: 变量的文档是:

Documentation: If non-nil, mouse drag 文档:如果非零,鼠标拖动
copies region to kill-ring. 将区域复制到杀死环。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM