'riece-emacs)
'(riece-globals
riece-options
+ riece-debug
riece-version
riece-coding
riece-complete
riece-biff
riece-kakasi
riece-yank
- riece-toolbar))))
+ riece-toolbar
+ riece-eval
+ riece-google
+ riece-keepalive))))
(defvar riece-icons
- '(riece-command-previous-channel
- riece-command-next-channel))
+ '(riece-command-quit
+ riece-command-join
+ riece-command-part
+ riece-command-previous-channel
+ riece-command-next-channel
+ riece-command-change-layout
+ riece-submit-bug-report))
(defun riece-compile-modules (modules)
- (let ((load-path (cons nil load-path)))
+ (let ((load-path (cons nil load-path))
+ error-modules)
(while modules
(let ((source (expand-file-name
(concat (symbol-name (car modules)) ".el"))))
(if (file-newer-than-file-p source (concat source "c"))
(condition-case error
(byte-compile-file source)
- (error))))
- (setq modules (cdr modules)))))
+ (error
+ (setq error-modules (cons (car modules) error-modules))))))
+ (setq modules (cdr modules)))
+ (if error-modules
+ (princ (concat "\n\
+ WARNING: ---------------------------------------------------------
+ WARNING: Couldn't compile following modules:
+ WARNING:
+ WARNING: " (mapconcat #'symbol-name error-modules ", ") "\n\
+ WARNING:
+ WARNING: You should probably stop here, try \"make distclean\" to clear
+ WARNING: the last build, and then reconfigure.
+ WARNING: ---------------------------------------------------------\n\n")))))
(defun riece-install-modules (modules dest just-print)
(unless (or just-print (file-exists-p dest))
(make-directory dest t))
(while icons
(let ((name (symbol-name (car icons))))
- (princ (format "%s.xpm -> %s\n" name dest))
- (unless just-print
- (copy-file (expand-file-name (concat name ".xpm"))
- (expand-file-name (concat name ".xpm") dest)
- t t)))
+ (when (file-exists-p (expand-file-name (concat name ".xpm")))
+ (princ (format "%s.xpm -> %s\n" name dest))
+ (unless just-print
+ (copy-file (expand-file-name (concat name ".xpm"))
+ (expand-file-name (concat name ".xpm") dest)
+ t t))))
(setq icons (cdr icons))))
(defun riece-install-just-print-p ()