[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: how to use "if" in lisp
From: |
Mirko |
Subject: |
Re: how to use "if" in lisp |
Date: |
Thu, 15 Nov 2007 10:08:04 -0800 (PST) |
User-agent: |
G2/1.0 |
On Nov 15, 1:01 pm, Teng Wang <twang....@gmail.com> wrote:
> Hi there,
>
> I just began to learn lisp a couple of weeks ago. It is easy to use,
> but sometimes it is really hard to know what variables are in
> lisp. And today I want to write a code doing the function as below:
>
> (if (_the major mode is something_)
> (some function)
> (another funcion))
>
> But I don't know how to write down the condition.
>
> Any suggestions. Thank you all in advance.
>
> ---
>
> Teng
The variable mode-name contains the name of the major mode (as a
string)
Mirko
- how to use "if" in lisp, Teng Wang, 2007/11/16
- Re: how to use "if" in lisp,
Mirko <=
- Re: how to use "if" in lisp, Joel J. Adamson, 2007/11/15
- Re: how to use "if" in lisp, Joel J. Adamson, 2007/11/15
- Re: how to use "if" in lisp, Sebastian Tennant, 2007/11/15
- Re: how to use "if" in lisp, Teng Wang, 2007/11/16
- Re: how to use "if" in lisp, Xah Lee, 2007/11/15
- Re: how to use "if" in lisp, Joel J. Adamson, 2007/11/16
- Re: how to use "if" in lisp, Teng Wang, 2007/11/16
- Re: how to use "if" in lisp, Tim X, 2007/11/16
- Re: how to use "if" in lisp, Teng Wang, 2007/11/17