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


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to