Commit d5b876ef authored by Richard M. Stallman's avatar Richard M. Stallman

(dired-byte-compile): Report failure if output file is not created.

parent d70fbcca
......@@ -649,6 +649,8 @@ and use this command with a prefix argument (the value does not matter)."
(error
(setq failure err)))
(setq elc-file (byte-compile-dest-file filename))
(or (file-exists-p elc-file)
(setq failure t))
(if failure
(progn
(dired-log "Byte compile error for %s:\n%s\n" filename failure)
......
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