Revert "Fix minor problems with loaddefs autogeneration"

This reverts commit f2bd2c1e64.

This commit has been reverted because the new mechanism was too
sensitive to changes in the lisp source, generation of new ldefs-boot
files was platform specific and resulted in warnings about undefined
variables.
This commit is contained in:
Phillip Lord 2017-03-07 13:22:04 +00:00
parent 66b7543eab
commit 11436e2890
2 changed files with 2 additions and 8 deletions

View file

@ -57,9 +57,6 @@
(defun ldefs-clean ()
;; Remove CR characters produced on MS-DOS/MS-Windows systems.
(let ((coding-system-for-read 'utf-8-dos))
(find-file "../lisp/ldefs-boot-auto.temp"))
(find-file "../lisp/ldefs-boot-auto.temp")
(ldefs-clean-up)
(let ((coding-system-for-write 'utf-8-unix))
(write-file "ldefs-boot-auto.el")))
(write-file "ldefs-boot-auto.el"))

View file

@ -16,9 +16,6 @@
(autoload 'dos-convert-standard-filename "dos-fns.el" nil nil nil)
(autoload 'w32-convert-standard-filename "w32-fns.el" nil nil nil)
;; This is needed on MS-Windows only, and won't be in
;; ldefs-boot-auto.el on other platforms.
(autoload 'image-type "image" nil nil nil)
(load "ldefs-boot-auto.el")