]> code.delx.au - gnu-emacs/blobdiff - lisp/dired-aux.el
(tmm-menubar-mouse): Add autoload cookie.
[gnu-emacs] / lisp / dired-aux.el
index e08094ff2da94e62be718bc2590af017410af7d4..1edbd3a1ded52cae882cd2f75486b701cc18b506 100644 (file)
@@ -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)
@@ -1006,7 +1008,7 @@ Special value `always' suppresses confirmation.")
 ;; which will be added.  The user will be queried if the file already
 ;; exists.  If oldfile is removed by FILE-CREATOR (i.e, it is a
 ;; rename), it is FILE-CREATOR's responsibility to update dired
-;; buffers.  FILE-CREATOR must abort by signalling a file-error if it
+;; buffers.  FILE-CREATOR must abort by signaling a file-error if it
 ;; could not create newfile.  The error is caught and logged.
 
 ;; OPERATION (a capitalized string, e.g. `Copy') describes the