]> code.delx.au - gnu-emacs/blobdiff - lisp/loadup.el
Fix bootstrap broken by changes related to OS X file-name encoding
[gnu-emacs] / lisp / loadup.el
index dda433e4eaffae608849de2e6f91f768155535c4..a58d04223eababdc2afbd0d778b8d9669e28b727 100644 (file)
 (if (featurep 'ns)
     (progn
       (load "term/common-win")
-      (load "international/ucs-normalize")
-      (load "term/ns-win")))
+      ;; Don't load ucs-normalize.el unless uni-*.el files were
+      ;; already produced, because it needs uni-*.el files that might
+      ;; not be built early enough during bootstrap.
+      (when (load-history-filename-element "charprop\\.el")
+        (load "international/ucs-normalize")
+        (load "term/ns-win"))))
 (if (fboundp 'x-create-frame)
     ;; Do it after loading term/foo-win.el since the value of the
     ;; mouse-wheel-*-event vars depends on those files being loaded or not.