Mercurial > emacs
diff lisp/ediff-diff.el @ 53477:79093b308520
* 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.
| author | Eli Zaretskii <eliz@is.elta.co.il> |
|---|---|
| date | Sat, 03 Jan 2004 12:11:21 +0000 |
| parents | 695cf19ef79e |
| children | 905bf9de87af |
line wrap: on
line diff
--- a/lisp/ediff-diff.el Fri Jan 02 22:17:42 2004 +0000 +++ b/lisp/ediff-diff.el Sat Jan 03 12:11:21 2004 +0000 @@ -64,8 +64,8 @@ ;; 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")))
