emacs & lisp question.

Francisco Borges f.borges at rug.nl
Fri Nov 17 12:59:19 UTC 2006


Hello,

I'm sure this is trivial if one knows lisp... so I think it's easier to
ask than to go fiddle on lisp manuals (which I have done already :-P)

I want to have a conditional block of code that checks environment
variables or something... I did this, but it doesn't work the way I
want:

(if (equal (getenv "GROUP") "bozo")
    (message "oh brother I hate Lisp...")
    (message "this seems to work like the else clause... and yes, I hate Lisp...")
)

Can anybody shed some light on it? How do I block multiple commands to
run on a successful 'if'?

Cheers,
-- 
Francisco





More information about the ubuntu-users mailing list