X-Git-Url: http://cgit.sxemacs.org/?p=riece;a=blobdiff_plain;f=lisp%2FCOMPILE;h=5c796d01cd0278c3224107fc70f006a902215716;hp=f529579758d69922d52b254dc490c8128696ac57;hb=07fb1f469c2b57317c1af22a709a181d4ecaac2c;hpb=5f0e2bd27fbe7355383ea04742c2c74f9561c76a diff --git a/lisp/COMPILE b/lisp/COMPILE index f529579..5c796d0 100644 --- a/lisp/COMPILE +++ b/lisp/COMPILE @@ -18,6 +18,8 @@ riece-user riece-misc + ;; riece-layout ---> riece-display + riece-layout riece-display riece-server @@ -48,8 +50,9 @@ riece-unread riece-doctor riece-alias - riece-layout - riece-skk-kakutei)))) + riece-skk-kakutei + riece-guess + riece-history)))) (defun riece-compile-modules (modules) (let ((load-path (cons nil load-path))) @@ -57,7 +60,9 @@ (let ((source (expand-file-name (concat (symbol-name (car modules)) ".el")))) (if (file-newer-than-file-p source (concat source "c")) - (byte-compile-file source))) + (condition-case error + (byte-compile-file source) + (error)))) (setq modules (cdr modules))))) (defun riece-install-modules (modules dest just-print) @@ -72,9 +77,12 @@ t t)) (princ (format "%s.elc -> %s\n" name dest)) (unless just-print - (copy-file (expand-file-name (concat name ".elc")) - (expand-file-name (concat name ".elc") dest) - t t))) + (if (file-exists-p (expand-file-name (concat name ".elc"))) + (copy-file (expand-file-name (concat name ".elc")) + (expand-file-name (concat name ".elc") dest) + t t) + (princ (format "(%s was not successfully compiled, ignored)\n" + name))))) (setq modules (cdr modules)))) (defun riece-install-just-print-p ()