summaryrefslogtreecommitdiff
path: root/lisp/ediff-diff.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@is.elta.co.il>2004-01-03 12:12:01 +0000
committerEli Zaretskii <eliz@is.elta.co.il>2004-01-03 12:12:01 +0000
commit15502042230fbf94c50ac8a046c367948c66dc66 (patch)
tree84970934af3914fabdc2d02a11f0ace8e9233ce6 /lisp/ediff-diff.el
parent181e6a61ecee69a39a2765fe83745fe576d86d8d (diff)
downloademacs-15502042230fbf94c50ac8a046c367948c66dc66.tar.gz
* progmodes/idlwave.el (idlwave-make-tags):
* textmodes/flyspell.el (flyspell-large-region):. * progmodes/make-mode.el (makefile-query-by-make-minus-q): * emulation/viper-util.el (viper-glob-unix-files): * emacs-lisp/shadow.el (shadow-same-file-or-nonexistent): * man.el (Man-init-defvars): * jka-compr.el (jka-compr-call-process): * files.el (get-free-disk-space,insert-directory): * ediff-ptch.el (ediff-test-patch-utility): * ediff-diff.el (ediff-test-utility): * dired-aux.el (dired-check-process): * mail/sendmail.el (sendmail-send-it): Don't use = or zerop to test the return value of call-process, because it can be a string.
Diffstat (limited to 'lisp/ediff-diff.el')
-rw-r--r--lisp/ediff-diff.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/ediff-diff.el b/lisp/ediff-diff.el
index e7dcd6f16c5..4ba4ab316f8 100644
--- a/lisp/ediff-diff.el
+++ b/lisp/ediff-diff.el
@@ -64,8 +64,8 @@ Must produce output compatible with Unix's diff3 program."
;; 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)
- (zerop (apply 'call-process
- (append (list diff-util nil nil nil option) files))))
+ (eq 0 (apply 'call-process
+ (append (list diff-util nil nil nil option) files))))
(defun ediff-diff-mandatory-option (diff-util)
(let ((file (if (boundp 'null-device) null-device "/dev/null")))