[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r101413: * lisp/emacs-lisp/bytecomp.e
From: |
Glenn Morris |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r101413: * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change. |
Date: |
Sat, 11 Sep 2010 12:33:52 -0700 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 101413
committer: Glenn Morris <address@hidden>
branch nick: trunk
timestamp: Sat 2010-09-11 12:33:52 -0700
message:
* lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change.
Write out the name of the .elc file, rather than the temp-file.
modified:
lisp/emacs-lisp/bytecomp.el
=== modified file 'lisp/emacs-lisp/bytecomp.el'
--- a/lisp/emacs-lisp/bytecomp.el 2010-09-11 18:52:04 +0000
+++ b/lisp/emacs-lisp/bytecomp.el 2010-09-11 19:33:52 +0000
@@ -1706,7 +1706,7 @@
(tempfile (make-temp-name target-file)))
(if (memq system-type '(ms-dos 'windows-nt))
(setq buffer-file-type t))
- (write-region (point-min) (point-max) tempfile)
+ (write-region (point-min) (point-max) tempfile nil 1)
;; This has the intentional side effect that any
;; hard-links to target-file continue to
;; point to the old file (this makes it possible
@@ -1715,7 +1715,8 @@
;; emacs-lisp files in the build tree are
;; recompiled). Previously this was accomplished by
;; deleting target-file before writing it.
- (rename-file tempfile target-file t))
+ (rename-file tempfile target-file t)
+ (message "Wrote %s" target-file))
;; This is just to give a better error message than write-region
(signal 'file-error
(list "Opening output file"
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r101413: * lisp/emacs-lisp/bytecomp.el (byte-compile-file): Tweak previous change.,
Glenn Morris <=