mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-24 06:20:43 -08:00
Remove obsolete use of binary-overwrite-mode in bytecomp (Bug#7001).
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove obsolete use of binary-overwrite-mode (Bug#7001).
This commit is contained in:
parent
74f1829da3
commit
96bcef2ec6
2 changed files with 6 additions and 9 deletions
|
|
@ -1,3 +1,8 @@
|
||||||
|
2010-10-03 Chong Yidong <cyd@stupidchicken.com>
|
||||||
|
|
||||||
|
* emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
|
||||||
|
obsolete use of binary-overwrite-mode (Bug#7001).
|
||||||
|
|
||||||
2010-10-03 Glenn Morris <rgm@gnu.org>
|
2010-10-03 Glenn Morris <rgm@gnu.org>
|
||||||
|
|
||||||
* obsolete/x-menu.el: Remove file, obsolete since 21.1
|
* obsolete/x-menu.el: Remove file, obsolete since 21.1
|
||||||
|
|
|
||||||
|
|
@ -1800,15 +1800,7 @@ With argument ARG, insert value in current buffer after the form."
|
||||||
(set-buffer-multibyte t)
|
(set-buffer-multibyte t)
|
||||||
(erase-buffer)
|
(erase-buffer)
|
||||||
;; (emacs-lisp-mode)
|
;; (emacs-lisp-mode)
|
||||||
(setq case-fold-search nil)
|
(setq case-fold-search nil))
|
||||||
;; This is a kludge. Some operating systems (OS/2, DOS) 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. (There's no point running the
|
|
||||||
;; mode hook, so don't call `binary-overwrite-mode'.)
|
|
||||||
(setq overwrite-mode 'overwrite-mode-binary))
|
|
||||||
(displaying-byte-compile-warnings
|
(displaying-byte-compile-warnings
|
||||||
(with-current-buffer bytecomp-inbuffer
|
(with-current-buffer bytecomp-inbuffer
|
||||||
(and bytecomp-filename
|
(and bytecomp-filename
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue