emacs-devel
[Top][All Lists]
Advanced

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

Re: defvars at compile time


From: Katsumi Yamaoka
Subject: Re: defvars at compile time
Date: Thu, 16 Mar 2006 07:52:40 +0900
User-agent: Gnus/5.110004 (No Gnus v0.4) Emacs/22.0.50 (gnu/linux)

>>>>> In <address@hidden> Bill Wohler wrote:

> Reiner Steib <address@hidden> wrote:

>> (let* ((load-path (image-load-path-for-library "mh-e" "mh-logo.xpm"))
>>        (image-load-path (cons (car load-path)
>>                            (when (boundp 'image-load-path)
>>                              image-load-path))))
>>   (mh-tool-bar-folder-buttons-init))

> How would you fix this, then?

>     While compiling mh-folder-mode in file
>     /usr/local/src/mh-e/src/emacs/lisp/mh-e/mh-folder.el:
>       ** reference to free variable image-load-path

I usually do this:

  (when (boundp 'image-load-path)
    (symbol-value 'image-load-path))




reply via email to

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