如何配置emacs拖放打开而不是追加到osx上

hih*_*tie 6 emacs

如何在osx上配置emacs 23.1.1以便在emacs窗口上拖放文件在新缓冲区中打开文件而不是将其附加到当前缓冲区?

Tao*_*eng 5

你可以试试:

(global-set-key [ns-drag-file] 'ns-find-file)
Run Code Online (Sandbox Code Playgroud)

它适用于我在Emacs 23.2.1上

  • `(setq ns-pop-up-frames nil)`对我有用。 (2认同)