[Top][All Lists]

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

[XWEM]: Re: Adding things to xwem-icons-alist

From: Steve Youngs
Subject: [XWEM]: Re: Adding things to xwem-icons-alist
Date: Tue, 14 Sep 2004 15:59:52 +1000
User-agent: Gnus/5.110003 (No Gnus v0.3) XEmacs/21.4 (Security Through Obscurity, linux)

* Zajcev Evgeny <address@hidden> writes:

  > Steve Youngs <address@hidden> writes:
  >> (add-to-list 'xwem-icons-alist
  >> '(["Links.*" ".*" ".*"] . "links.xpm"))
  >> How can I tell it that the icon file is in a different directory?

  > Use absolute path, for example

  >   (add-to-list 'xwem-icons-alist
  >      (cons ["Links.*" ".*" ".*"] (expand-file-name "links.xpm" 

I had tried...

(add-to-list 'xwem-icons-alist
 '(["Links.*" ".*" ".*"] . (expand-file-name "links.xpm" user-init-directory)))

But it gave me a 'stringp error: "expand-file-name..."' error. :-(

Perhaps I should have used `cons'?

  > BTW: before adding any icons to xwem distribution, take a look at
  > README in icons directory.

If I ever want to add an icon to the xwem distribution I'll be sure to
read that file. :-)

|---<Steve Youngs>---------------<GnuPG KeyID: A94B3003>---|
|                   Te audire no possum.                   |
|             Musa sapientum fixa est in aure.             |

Attachment: pgp3uiIJ6F2NI.pgp
Description: PGP signature

reply via email to

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