diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-11-17 22:54:14 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2010-11-17 22:54:14 -0500 |
commit | 4a47c2757309e338321da1e7a2f6d399a306ce7d (patch) | |
tree | de441bac2c90c3302459c5f0ffe9c53ec4b31c2f /lisp/emacs-lisp/autoload.el | |
parent | 8bbb7dd8a6d08540a81a7a2baa2274d8e6d65c92 (diff) | |
parent | b916cbefa481920a49eac03c7025693f38afc882 (diff) | |
download | emacs-4a47c2757309e338321da1e7a2f6d399a306ce7d.tar.gz emacs-4a47c2757309e338321da1e7a2f6d399a306ce7d.tar.bz2 emacs-4a47c2757309e338321da1e7a2f6d399a306ce7d.zip |
Merge from emacs-23
Diffstat (limited to 'lisp/emacs-lisp/autoload.el')
-rw-r--r-- | lisp/emacs-lisp/autoload.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/autoload.el b/lisp/emacs-lisp/autoload.el index 532d68245d8..4dd1a118ebd 100644 --- a/lisp/emacs-lisp/autoload.el +++ b/lisp/emacs-lisp/autoload.el @@ -575,8 +575,8 @@ removes any prior now out-of-date autoload entries." (autoload-ensure-default-file (autoload-generated-file))) ;; This is to make generated-autoload-file have Unix EOLs, so ;; that it is portable to all platforms. - (unless (zerop (coding-system-eol-type buffer-file-coding-system)) - (set-buffer-file-coding-system 'unix)) + (or (eq 0 (coding-system-eol-type buffer-file-coding-system)) + (set-buffer-file-coding-system 'unix)) (or (> (buffer-size) 0) (error "Autoloads file %s lacks boilerplate" buffer-file-name)) (or (file-writable-p buffer-file-name) |