Mercurial > emacs
changeset 2216:8dfca05a5852
* bytecomp.el (byte-compile-from-buffer): Put buffer containing
compiled code in binary overwrite mode.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Tue, 16 Mar 1993 18:35:04 +0000 |
parents | a7d915ce7676 |
children | f650efceb0fb |
files | lisp/emacs-lisp/bytecomp.el |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/emacs-lisp/bytecomp.el Tue Mar 16 18:18:47 1993 +0000 +++ b/lisp/emacs-lisp/bytecomp.el Tue Mar 16 18:35:04 1993 +0000 @@ -1256,7 +1256,15 @@ (set-buffer (get-buffer-create " *Compiler Output*"))) (erase-buffer) ;; (emacs-lisp-mode) - (setq case-fold-search nil)) + (setq case-fold-search nil) + + ;; This is a kludge. Some operating systems (OS/2) need to + ;; write files containing binary information specially. + ;; Under most circumstances, such files will be in binary + ;; overwrite mode, so those OS's use that flag to guess how + ;; they should write their data. Advise them that .elc files + ;; need to be written carefully. + (setq overwrite-mode 'overwrite-mode-binary)) (displaying-byte-compile-warnings (save-excursion (set-buffer inbuffer)