* riece-doctor.el (riece-doctor-after-privmsg-hook): Prefix user
[riece] / lisp / COMPILE
index 9b9c2bf..866cc44 100644 (file)
@@ -11,6 +11,7 @@
                riece-coding
                riece-complete
 
+               riece-mode
                ;; riece-identity -+-> riece-channel
                ;;                 +-> riece-user
                riece-identity
                riece-user
 
                riece-misc
+               riece-signal
+
+               ;; riece-layout ---> riece-display
+               riece-layout
                riece-display
                riece-server
 
                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
+               riece-menu
+               riece-icon
+               riece-async
+               riece-lsdb
+               riece-xface
+               riece-ctlseq
+               riece-ignore
+               riece-hangman))))
 
 (defun riece-compile-modules (modules)
   (let ((load-path (cons nil load-path)))
@@ -53,7 +73,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)
                   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 ()