[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
ediff failure if diff doesn't exist
From: |
Jesper Harder |
Subject: |
ediff failure if diff doesn't exist |
Date: |
Wed, 10 May 2006 23:53:34 +0200 |
User-agent: |
Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (darwin) |
Hi,
On ms-windows when you (require 'ediff) on a computer where the diff
executable doesn't exist you get the backtrace below.
Of course, ediff probably isn't that useful if you don't have diff,
but still it would be nice to fail in a more gracefull way.
To reproduce, set ediff-diff-program to something that doesn't exist
and require ediff.
Debugger entered--Lisp error: (file-error "Searching for program" "no
such file or directory" "diff")
call-process("diff" nil nil nil "--binary" "NUL" "NUL")
apply(call-process ("diff" nil nil nil "--binary" "NUL" "NUL"))
ediff-diff-mandatory-option("diff")
ediff-reset-diff-options(ediff-diff-options "")
custom-initialize-reset(ediff-diff-options "")
custom-declare-variable(ediff-diff-options ""
("r:/Dev/Common/Util/Emacs/lisp/ediff-diff.elc" . -3371) :set
ediff-reset-diff-options :type string :group ediff-diff)
require(ediff-diff)
--
Cheers,
Jesper Harder
- ediff failure if diff doesn't exist,
Jesper Harder <=