From: Thomas Gehrlein <thomas.gehrlein@t-online.de>
Subject: Re: trouble writing a conditional, or with lambda
Date: 24 May 2003 17:37:30 +0200 [thread overview]
Message-ID: <wkel2oe4p1.fsf@t-online.de> (raw)
In-Reply-To: m3d6i8cond.fsf@russel.teuto37
Florian von Savigny <florian265@uboot.com> writes:
> some basic lisp, I'm afraid, but I did consult the manual and tested
> in lisp-interaction-mode, but did not get any the wiser.
>
> I'm trying to get a function to work differently depending on whether
> emacs runs under X or on a terminal:
Not tested:
(if (eq window-system nil)
;; running under a terminal
(progn
(split-window)
(switch-to-buffer "*foo*"))
;; running under a window system
(select-frame (make-frame))
(set-frame-size (selected-frame) 50 24)
(set-frame-position (selected-frame) 150 120))
Thomas
next prev parent reply other threads:[~2003-05-24 15:37 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-05-24 16:09 trouble writing a conditional, or with lambda Florian von Savigny
2003-05-24 15:37 ` Thomas Gehrlein [this message]
2003-05-24 16:08 ` Oliver Scholz
2003-05-24 16:14 ` lawrence mitchell
2003-05-25 12:04 ` Florian von Savigny
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=wkel2oe4p1.fsf@t-online.de \
--to=thomas.gehrlein@t-online.de \
/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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).