stumpwm-devel
[Top][All Lists]
Advanced

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

Re: [STUMP] what is ml in fmt-<name>


From: Rohan Nicholls
Subject: Re: [STUMP] what is ml in fmt-<name>
Date: Tue, 19 Aug 2008 16:49:20 +0200

Thanks for the reply

On Tue, Aug 19, 2008 at 4:22 PM, John Li <address@hidden> wrote:
> On Tue, Aug 19, 2008 at 02:45:29PM +0200, Rohan Nicholls wrote:
>> Hey everyone,
>>
>> I was making a define-stumpwm-command with the wifi package, and I see
>> the same thing with battery.lisp, there is this ml argument.
>
> It's the mode-line. You'll probably have to wait for Shawn to tell you
> why all formatters take it as an argument. Either way, you can almost
> certainly ignore it, like the other formatter functions do.

Thanks.  I was in the mode-line.lisp file and noticed all the ml's
around the place, and figured it must stand for that, but not why. ;)

> Some Lisp
> implementations throw warnings if you have arguments that are never
> used, hence the (declare (ignore ml)).

Ahh, okay.  I figured it did something like that, but am not familiar
with declare.

> Happy hacking,
> John

Thanks, its going well so far.




reply via email to

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