From: Richard M. Stallman Date: Tue, 29 Aug 1995 16:22:25 +0000 (+0000) Subject: (dired-byte-compile): Report failure if output file is not created. X-Git-Tag: emacs-19.34~2888 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d5b876efa88da30edf8bf8e8887d90d1c723b0cc;p=emacs.git (dired-byte-compile): Report failure if output file is not created. --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index e08094ff2da..27ef4397d74 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -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)