emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r101753: Remove obsolete use of binar


From: Chong Yidong
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r101753: Remove obsolete use of binary-overwrite-mode in bytecomp (Bug#7001).
Date: Sun, 03 Oct 2010 00:31:59 -0400
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 101753
committer: Chong Yidong <address@hidden>
branch nick: trunk
timestamp: Sun 2010-10-03 00:31:59 -0400
message:
  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).
modified:
  lisp/ChangeLog
  lisp/emacs-lisp/bytecomp.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog    2010-10-03 02:32:03 +0000
+++ b/lisp/ChangeLog    2010-10-03 04:31:59 +0000
@@ -1,3 +1,8 @@
+2010-10-03  Chong Yidong  <address@hidden>
+
+       * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove
+       obsolete use of binary-overwrite-mode (Bug#7001).
+
 2010-10-03  Glenn Morris  <address@hidden>
 
        * obsolete/x-menu.el: Remove file, obsolete since 21.1

=== modified file 'lisp/emacs-lisp/bytecomp.el'
--- a/lisp/emacs-lisp/bytecomp.el       2010-10-02 23:10:41 +0000
+++ b/lisp/emacs-lisp/bytecomp.el       2010-10-03 04:31:59 +0000
@@ -1800,15 +1800,7 @@
        (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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]