summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/bytecomp.el
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2010-10-03 00:31:59 -0400
committerChong Yidong <cyd@stupidchicken.com>2010-10-03 00:31:59 -0400
commit96bcef2ec619f55bf30d929f2da8d920f3c5540d (patch)
treeb514edcd4094b2b66725af4347d5fcad93c26166 /lisp/emacs-lisp/bytecomp.el
parent74f1829da3cd153bc49480c8f6f2631fa0669284 (diff)
downloademacs-96bcef2ec619f55bf30d929f2da8d920f3c5540d.tar.gz
emacs-96bcef2ec619f55bf30d929f2da8d920f3c5540d.tar.bz2
emacs-96bcef2ec619f55bf30d929f2da8d920f3c5540d.zip
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).
Diffstat (limited to 'lisp/emacs-lisp/bytecomp.el')
-rw-r--r--lisp/emacs-lisp/bytecomp.el10
1 files changed, 1 insertions, 9 deletions
diff --git a/lisp/emacs-lisp/bytecomp.el b/lisp/emacs-lisp/bytecomp.el
index c0dc1764647..b3ac7b83d79 100644
--- a/lisp/emacs-lisp/bytecomp.el
+++ b/lisp/emacs-lisp/bytecomp.el
@@ -1800,15 +1800,7 @@ With argument ARG, insert value in current buffer after the form."
(set-buffer-multibyte t)
(erase-buffer)
;; (emacs-lisp-mode)
- (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))
+ (setq case-fold-search nil))
(displaying-byte-compile-warnings
(with-current-buffer bytecomp-inbuffer
(and bytecomp-filename