]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Fix minor problems with loaddefs autogeneration"
authorPhillip Lord <phillip.lord@russet.org.uk>
Tue, 7 Mar 2017 13:22:04 +0000 (13:22 +0000)
committerPhillip Lord <phillip.lord@russet.org.uk>
Tue, 7 Mar 2017 13:46:48 +0000 (13:46 +0000)
This reverts commit f2bd2c1e6476acc71e71f6cb2a1c56c5edd900ba.

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.

admin/ldefs-clean.el
lisp/ldefs-boot-manual.el

index 33bc9e529faf9b53f4bd821088a986610baad8cd..91512b4bbb780156d067f931bd4ea0d181923b5c 100644 (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"))
index 06b9738d5ee387363dab8a84e2f77db761248f5c..2f6e3fd2094847fdb7bc68f109833da3e858a031 100644 (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")