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

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

how to use "if" in lisp


From: Teng Wang
Subject: how to use "if" in lisp
Date: Thu, 15 Nov 2007 12:01:04 -0600
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (gnu/linux)

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 


reply via email to

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