Commit d02b0e30 authored by Chong Yidong's avatar Chong Yidong
Browse files

(diff-sentinel): Take note of diff error return value.

parent 27f98b7e
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment