emacs-devel
[Top][All Lists]
Advanced

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

Re: display word wrapping


From: Kim F. Storm
Subject: Re: display word wrapping
Date: 03 Jun 2004 22:43:24 +0200
User-agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50

Juanma Barranquero <address@hidden> writes:

> > The above patch guards against that to some extent, but explicitly skipping
> > those elements which are already in image-types is a good thing.
> 
> It's already implemented.  With my current patch (not included) you can
> change image-library-alist and call init-image-libraries and it only
> loads (and adds to Vimage_types, etc.) the newly loaded libraries (if
> any).

Good.

> > Finally, I propose to specify the alist as arg to init-image-libraries;
> > there's no need to "pollute" the C code with a Vw32_image_libraries_alist
> > variable.
> 
> why that? 

Because we prefer to define things in Lisp whenever possible.

If you can declare the variable in lisp and pass it as a parameter,
that is cleaner than declaring it in C and only use it implicitly.

>           It would seem logical to just define Vimage_library_alist on
> image.c and make init-image-libraries to use it.

IMHO, using an explicit parameter is cleaner than an implicit global variable.

-- 
Kim F. Storm <address@hidden> http://www.cua.dk





reply via email to

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