gnugo-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[gnugo-devel] Re: XPM's


From: Thien-Thi Nguyen
Subject: [gnugo-devel] Re: XPM's
Date: Thu, 09 Jan 2003 11:25:14 -0800

and here is a way to preview the images in emacs:

  (require 'cl)
  (load-file "gnugo-glyphs.el")
  (dolist (xpm-var (mapcar 'car (apropos "^gnugo-xpm-")))
    (let ((xpm (eval xpm-var)))
      (insert-image (find-image `((:type xpm :data ,xpm))))
      (insert (format "%s\n" xpm-var))))

you can try this in *scratch*, for example.  (probably `apropos' is not
right function to use in this case, but hey irony is a dying art...)

thi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]