Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
d02b0e30
Commit
d02b0e30
authored
Nov 24, 2008
by
Chong Yidong
Browse files
(diff-sentinel): Take note of diff error return value.
parent
27f98b7e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
lisp/diff.el
lisp/diff.el
+3
-1
No files found.
lisp/diff.el
View file @
d02b0e30
...
...
@@ -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
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment