diff options
| author | Chong Yidong | 2010-10-03 00:31:59 -0400 |
|---|---|---|
| committer | Chong Yidong | 2010-10-03 00:31:59 -0400 |
| commit | 96bcef2ec619f55bf30d929f2da8d920f3c5540d (patch) | |
| tree | b514edcd4094b2b66725af4347d5fcad93c26166 /lisp | |
| parent | 74f1829da3cd153bc49480c8f6f2631fa0669284 (diff) | |
| download | emacs-96bcef2ec619f55bf30d929f2da8d920f3c5540d.tar.gz 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')
| -rw-r--r-- | lisp/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/emacs-lisp/bytecomp.el | 10 |
2 files changed, 6 insertions, 9 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 23be6ed8c28..076c3ef3fac 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2010-10-03 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * emacs-lisp/bytecomp.el (byte-compile-from-buffer): Remove | ||
| 4 | obsolete use of binary-overwrite-mode (Bug#7001). | ||
| 5 | |||
| 1 | 2010-10-03 Glenn Morris <rgm@gnu.org> | 6 | 2010-10-03 Glenn Morris <rgm@gnu.org> |
| 2 | 7 | ||
| 3 | * obsolete/x-menu.el: Remove file, obsolete since 21.1 | 8 | * obsolete/x-menu.el: Remove file, obsolete since 21.1 |
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." | |||
| 1800 | (set-buffer-multibyte t) | 1800 | (set-buffer-multibyte t) |
| 1801 | (erase-buffer) | 1801 | (erase-buffer) |
| 1802 | ;; (emacs-lisp-mode) | 1802 | ;; (emacs-lisp-mode) |
| 1803 | (setq case-fold-search nil) | 1803 | (setq case-fold-search nil)) |
| 1804 | ;; This is a kludge. Some operating systems (OS/2, DOS) need | ||
| 1805 | ;; to write files containing binary information specially. | ||
| 1806 | ;; Under most circumstances, such files will be in binary | ||
| 1807 | ;; overwrite mode, so those OS's use that flag to guess how | ||
| 1808 | ;; they should write their data. Advise them that .elc files | ||
| 1809 | ;; need to be written carefully. (There's no point running the | ||
| 1810 | ;; mode hook, so don't call `binary-overwrite-mode'.) | ||
| 1811 | (setq overwrite-mode 'overwrite-mode-binary)) | ||
| 1812 | (displaying-byte-compile-warnings | 1804 | (displaying-byte-compile-warnings |
| 1813 | (with-current-buffer bytecomp-inbuffer | 1805 | (with-current-buffer bytecomp-inbuffer |
| 1814 | (and bytecomp-filename | 1806 | (and bytecomp-filename |