如何在Windows + NTEmacs下使用ediff? [英] How can I use ediff under Windows + NTEmacs?
本文介绍了如何在Windows + NTEmacs下使用ediff?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
ediff
可执行文件。 从哪里可以我在Windows上为Emacs下载 ediff
解决方案
您可以下载<一个href =http://gnuwin32.sourceforge.net/packages/diffutils.htm =nofollow> diffUtils ,解压缩,添加路径到%PATH%和emacs exec-path在您的Emacs这样的init文件。
(when(string-equal system-typewindows-nt)
(progn
(setq diff-pathyour-diff-path)
(setenvPATH
(concat diff-path;))
(setq exec-path
'(diff-path))))
最后,使用 Mx diff
来比较你想要的。
I have Emacs version 23 on Windows and it seem the ediff
executable is missing?
From where can I download ediff
for Emacs on Windows?
解决方案
You can download diffUtils, extract it, add the path to %PATH% and emacs exec-path in your Emacs init file like that.
(when (string-equal system-type "windows-nt")
(progn
(setq diff-path "your-diff-path")
(setenv "PATH"
(concat diff-path ";"))
(setq exec-path
'(diff-path))))
finally, using M-x diff
to compare what you want.
这篇关于如何在Windows + NTEmacs下使用ediff?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文