将下面的文件保存成*.reg,运行下就OK了(更改下路径)
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell]
[HKEY_CLASSES_ROOT\*\shell\openwemacs]
@="&Edit with Emacs"
[HKEY_CLASSES_ROOT\*\shell\openwemacs\command]
@="C:\\emacs-23.3\\bin\\runemacs.exe \"%1\""
[HKEY_CLASSES_ROOT\Directory\shell\openwemacs]
@="Edit &with Emacs"
[HKEY_CLASSES_ROOT\Directory\shell\openwemacs\command]
@="C:\\emacs-23.3\\bin\\runemacs.exe \"%1\""
本文介绍了如何使用Windows注册表编辑器创建一个快捷方式,以便在打开文件时使用Emacs进行编辑。通过修改注册表键值,可以实现自定义的文件打开行为。
1173

被折叠的 条评论
为什么被折叠?



