+2006-06-06 Jesper Harder <harder@phys.au.dk>
+
+ * ediff-diff.el (ediff-test-utility): Protect against
+ file-error.
+
2006-06-06 Chong Yidong <cyd@stupidchicken.com>
* diff-mode.el (diff-mode): Set buffer-read-only to t when
;; The following functions needed for setting diff/diff3 options
;; test if diff supports the --binary option
(defsubst ediff-test-utility (diff-util option &optional files)
- (eq 0 (apply 'call-process
- (append (list diff-util nil nil nil option) files))))
+ (condition-case ()
+ (eq 0 (apply 'call-process
+ (append (list diff-util nil nil nil option) files)))
+ (file-error nil)))
(defun ediff-diff-mandatory-option (diff-util)
(let ((file (if (boundp 'null-device) null-device "/dev/null")))