diff options
Diffstat (limited to 'lisp/diff.el')
-rw-r--r-- | lisp/diff.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/diff.el b/lisp/diff.el index e806a615cc7..8fb258cf1e7 100644 --- a/lisp/diff.el +++ b/lisp/diff.el @@ -68,7 +68,9 @@ were found." (goto-char (point-max)) (let ((inhibit-read-only t)) (insert (format "\nDiff finished%s. %s\n" - (if (equal 0 code) " (no differences)" "") + (cond ((equal 0 code) " (no differences)") + ((equal 2 code) " (diff error)") + (t "")) (current-time-string)))))) (defvar diff-old-file nil) |