(cons msg code))))))
;;;###autoload
-(defun diff (old new &optional switches)
+(defun diff (old new &optional switches no-async)
"Find and display the differences between OLD and NEW files.
Interactively the current buffer's file name is the default for NEW
and a backup file for NEW is the default for OLD.
-With prefix arg, prompt for diff switches."
+With prefix arg, prompt for diff switches.
+If NO-ASYNC is non-nil, call diff syncrhonously."
(interactive
(nconc
(let (oldf newf)
(setq buf
(compile-internal command
"No more differences" "Diff"
- 'diff-parse-differences))
+ 'diff-parse-differences
+ nil nil nil nil nil nil no-async))
(set-buffer buf)
(set (make-local-variable 'diff-old-file) old)
(set (make-local-variable 'diff-new-file) new)