[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [XWEM]: Re: Adding things to xwem-icons-alist
From: |
Zajcev Evgeny |
Subject: |
Re: [XWEM]: Re: Adding things to xwem-icons-alist |
Date: |
Tue, 14 Sep 2004 10:49:42 +0400 |
User-agent: |
Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, berkeley-unix) |
Steve Youngs <address@hidden> writes:
> * 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"
> "/dir/to/icons")))
>
> 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'?
Of course! Your elisp form didnt evaluated, because of quote.
However you may use next form if you preffer.
(add-to-list 'xwem-icons-alist
`(["Links.*" ".*" ".*"] . ,(expand-file-name "links.xpm"
user-init-directory)))
--
lg