+2000-09-30 Daiki Ueno <ueno@unixuser.org>
+
+ * liece-xemacs.el (liece-xemacs-modeline-glyph): Add 'xpm check.
+ (liece-xemacs-create-nick-glyph): Ditto.
+ (liece-xemacs-unread-mark): Ditto.
+
2000-09-22 Daiki Ueno <ueno@unixuser.org>
* liece-handle.el (liece-handle-kill-message): Call
(let (file)
(make-glyph
(nconc
- (if (setq file (liece-locate-icon-file
- "liece-pointer.xpm"))
+ (if (and (featurep 'xpm)
+ (setq file (liece-locate-icon-file "liece-pointer.xpm")))
(list (vector 'xpm :file file)))
- (if (setq file (liece-locate-icon-file
- "liece-pointer.xbm"))
+ (if (setq file (liece-locate-icon-file "liece-pointer.xbm"))
(list (vector 'xbm :file file)))
'([string :data "Liece:"]))))))
(set-glyph-face glyph 'modeline-buffer-id)
(let ((glyph
(make-glyph
(nconc
- (if (setq file (liece-locate-icon-file file))
+ (if (and (featurep 'xpm)
+ (setq file (liece-locate-icon-file file)))
(list (vector 'xpm :file file)))
(if string
(list (vector 'string :data string)))))))
(if liece-display-unread-mark
(with-current-buffer liece-channel-list-buffer
(let* ((buffer-read-only nil)
- (file (liece-xemacs-icon-path
- liece-xemacs-unread-icon))
- (glyph (make-glyph
- (list (vector 'xpm :file file)
- (vector 'string
- :data liece-channel-unread-character))))
+ (file (liece-locate-icon-file liece-xemacs-unread-icon))
+ (glyph
+ (make-glyph
+ (nconc (if (and (featurep 'xpm) file)
+ (list (vector 'xpm :file file)))
+ (list (vector 'string
+ :data liece-channel-unread-character)))))
ext)
(goto-char (point-min))
(when (re-search-forward (concat "^ ?[0-9]+: " chnl "$") nil t)