根据 doc
Emacs supports “drag and drop”: dropping a file into an ordinary Emacs window visits the file using that window. As an exception, dropping a file into a window displaying a Dired buffer moves or copies the file into the displayed directory.
如何在 dired 模式下禁用文件的移动或复制,以便 emacs 可以在任何模式下访问该文件?
最佳答案
套装dired-dnd-protocol-alist
至 nil
.
(setq dired-dnd-protocol-alist nil)
...或使用
M-x customize
去做吧。
关于emacs - 如何在拖放时禁用复制文件,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/2719785/