+2000-09-11 Daiki Ueno <ueno@unixuser.org>
+
+ * liece-xemacs.el (liece-xemacs-splash-at-point): Don't check `console-type'.
+ (liece-x-face-insert-with-xemacs): Ditto.
+
2000-09-11 Akira Ohashi <bg66@luck.gr.jp>
* liece-emacs.el (liece-emacs-unread-character): Abolish.
* liece-vars.el (liece-channel-unread-character): New variable.
* liece-xemacs.el (liece-xemacs-unread-mark): Simplify; Don't use
- `featurep' and `console-type'.
+ `featurep' and `console-type'.
(toplevel): Ditto.
2000-09-11 Daiki Ueno <ueno@unixuser.org>
(put 'liece-dialogue-mode 'font-lock-defaults
'(liece-highlight-font-lock-keywords t))
+;;; This is a kludge for fontifying buffer whose name starts with a space.
+;;; Font-lock isn't responsible for (maybe) invisible buffers.
(defadvice font-lock-mode
(around liece-replace-space-in-buffer-name activate)
(if (char-equal (aref (buffer-name) 0) ? )
(let ((glyph (cdr-safe (assoc nick liece-glyph-cache))))
(unless glyph
(setq glyph (make-glyph
- (cond
- ((and (featurep 'xface)
- (memq (console-type) '(x mswindows)))
- `[xface :data ,str])
- (t `[string :data ,str]))))
+ (list (vector 'xface :data str)
+ (vector 'string :data str))))
(when glyph
(push (cons nick glyph) liece-glyph-cache)
(set-glyph-face glyph 'default)))
"Display splash logo in HEIGHT."
(or (bolp) (insert "\n"))
(let ((bow (point))
- (glyph (make-glyph `[xpm :data ,liece-xemacs-logo]))
+ (glyph (make-glyph
+ (list (vector 'xpm :data liece-xemacs-logo)
+ [nothing])))
(lh (/ (window-pixel-height) (window-height)))
(lw (/ (window-pixel-width) (window-width)))
(liece-insert-environment-version nil)
(insert-char ?\ (max 0 (/ (- (window-width)
(/ (glyph-width glyph) lw))
2)))
- (when (and (featurep 'xpm) (memq (console-type) '(x mswindows)))
- (set-extent-end-glyph
- (make-extent (point) (point))
- glyph))
+ (set-extent-end-glyph
+ (make-extent (point) (point))
+ glyph)
(insert "\n")
(insert-char ?\ (max 0 (/ (- (window-width) (length (liece-version))) 2)))
(setq bov (point))