mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-01 21:30:54 -08:00
(diff-sentinel): Take note of diff error return value.
This commit is contained in:
parent
27f98b7e61
commit
d02b0e305c
1 changed files with 3 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue