X-Git-Url: http://cgit.sxemacs.org/?a=blobdiff_plain;f=lisp%2FCOMPILE;h=5e7f64e77341da85fa7ee971281fcf03b81ee67f;hb=b0496990ebe94bac4c320b6696ee62957ee9d3a1;hp=9b9c2bf7cb2d5db93f0e70911924f165240171b2;hpb=ce06cb691e8251eccad1d2450b0360cc25758077;p=riece diff --git a/lisp/COMPILE b/lisp/COMPILE index 9b9c2bf..5e7f64e 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 @@ -45,7 +47,14 @@ riece-mini riece-rdcc riece-url - riece-unread)))) + riece-unread + riece-doctor + riece-alias + riece-skk-kakutei + riece-guess + riece-history + riece-button + riece-keyword)))) (defun riece-compile-modules (modules) (let ((load-path (cons nil load-path))) @@ -53,7 +62,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) @@ -68,9 +79,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 ()