From: Hacksaw <hacksaw@hacksaw.org>
Subject: Bug? Won't eval an 'if' sexp?
Date: Sun, 26 Jan 2003 03:23:38 -0500 [thread overview]
Message-ID: <200301260823.h0Q8NcHH016672@habitrail.home.fools-errant.com> (raw)
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
next reply other threads:[~2003-01-26 8:23 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-01-26 8:23 Hacksaw [this message]
[not found] <mailman.1000.1043569455.21513.bug-gnu-emacs@gnu.org>
2003-01-26 9:41 ` Bug? Won't eval an 'if' sexp? David Kastrup
2003-01-26 9:48 ` Hacksaw
2003-01-26 10:01 ` David Kastrup
2003-01-26 10:27 ` Hacksaw
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200301260823.h0Q8NcHH016672@habitrail.home.fools-errant.com \
--to=hacksaw@hacksaw.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.