+2000-09-07 Tadashi Watanabe <watanabe@sigmaitec.co.jp>
+
+ * lisp/smiley.el (smiley-buffer, smiley-create-glyph): Work with
+ GTK XEmacs as well.
+
2000-09-06 TSUCHIYA Masatoshi <tsuchiya@pine.kuee.kyoto-u.ac.jp>
* lisp/nnshimbun.el (nnshimbun-header-xref): New function.
xpm-color-symbols)))
(glyph (make-glyph
(list
- (cons 'x (expand-file-name pixmap smiley-data-directory))
+ (cons (if (featurep 'gtk) 'gtk 'x)
+ (expand-file-name pixmap smiley-data-directory))
(cons 'mswindows
(expand-file-name pixmap smiley-data-directory))
(cons 'tty smiley)))))
;;;###autoload
(defun smiley-buffer (&optional buffer st nd)
(interactive)
- (when (featurep '(or x mswindows))
+ (when (featurep '(or x gtk mswindows))
(save-excursion
(when buffer
(set-buffer buffer))