How can I use ediff under Windows + NTEmacs?

后端 未结 5 1641
闹比i
闹比i 2020-12-20 11:46

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?

5条回答
  •  佛祖请我去吃肉
    2020-12-20 12:44

    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.

提交回复
热议问题