[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bug? Won't eval an 'if' sexp?
From: |
Hacksaw |
Subject: |
Bug? Won't eval an 'if' sexp? |
Date: |
Sun, 26 Jan 2003 03:23:38 -0500 |
I added this to my .emacs under version 20.7:
(if (eq (user-uid) 0)
(message "You're uid 0, no desktop")
(lambda ()
(message "setting up desktop")
(custom-set-variables
'(desktop-enable t nil (desktop)))
(desktop-load-default)
(desktop-read)
)
)
It worked just fine. Under 21.2 it's not evaluated correctly. Doing a eval lst
sexp, it returns the lamda, I guess implying that it's not evaluating it?
[What I see in the *Message* buffer]
(lambda nil (message "setting up desktop") (custom-set-variables (quote
(desktop-enable t nil ...))) (desktop-load-default) (desktop-read))
Anyone know what's up?
--
Life is too short to take on the unnecessary.
http://www.hacksaw.org -- http://www.privatecircus.com -- KB1FVD
- Bug? Won't eval an 'if' sexp?,
Hacksaw <=