help-gnu-emacs
[Top][All Lists]
Advanced

[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


reply via email to

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