mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-23 14:10:28 -08:00
(byte-compile-file): Bind set-auto-coding-for-load to t.
This commit is contained in:
parent
8e4589447e
commit
dc14ae363e
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,7 @@
|
||||||
|
|
||||||
;;; This version incorporates changes up to version 2.10 of the
|
;;; This version incorporates changes up to version 2.10 of the
|
||||||
;;; Zawinski-Furuseth compiler.
|
;;; Zawinski-Furuseth compiler.
|
||||||
(defconst byte-compile-version "$Revision: 2.46 $")
|
(defconst byte-compile-version "$Revision: 2.47 $")
|
||||||
|
|
||||||
;; This file is part of GNU Emacs.
|
;; This file is part of GNU Emacs.
|
||||||
|
|
||||||
|
|
@ -1274,6 +1274,7 @@ The value is t if there were no errors, nil if errors."
|
||||||
(if byte-compile-verbose
|
(if byte-compile-verbose
|
||||||
(message "Compiling %s..." filename))
|
(message "Compiling %s..." filename))
|
||||||
(let ((byte-compile-current-file filename)
|
(let ((byte-compile-current-file filename)
|
||||||
|
(set-auto-coding-for-load t)
|
||||||
target-file input-buffer output-buffer
|
target-file input-buffer output-buffer
|
||||||
byte-compile-dest-file)
|
byte-compile-dest-file)
|
||||||
(setq target-file (byte-compile-dest-file filename))
|
(setq target-file (byte-compile-dest-file filename))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue