From: seki <sebastien.kirche.no@spam.free.fr>
Subject: Re: how do i find out the platform emacs runs on?
Date: Wed, 26 Nov 2003 10:32:32 +0100 [thread overview]
Message-ID: <3fc47348$0$2368$626a54ce@news.free.fr> (raw)
In-Reply-To: 871xryxpmo.fsf@helmut.nilsson.homedns.org
Ola Nilsson wrote:
>
> (if (eq system-type 'windows-nt)
> (require 'cygwin-mount)
> )
>
I try to have one .emacs between Mac OSX, Linux and NT, here what i
defined :
;windows
(if (eq system-type 'windows-nt)
(progn
...
))
;linux
(if (eq system-type 'linux)
(progn
...
))
;mac
(if (eq system-type 'darwin)
(progn
...
))
for macintosh, i use darwin, as it works both for console and windowed
system.
If you want also to check between console and graphical : test if
window-system is not nil (for example to define a default-frame-alist)
Sébastien Kirche
next prev parent reply other threads:[~2003-11-26 9:32 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-11-24 4:42 how do i find out the platform emacs runs on? leo
2003-11-24 6:11 ` Ola Nilsson
2003-11-25 3:53 ` leo
2003-11-26 9:32 ` seki [this message]
2003-11-26 17:21 ` Kevin Rodgers
2003-11-26 17:35 ` Edi Weitz
2003-11-26 17:36 ` Phillip Lord
2003-11-26 22:29 ` Ehud Karni
2003-11-27 10:02 ` Sébastien Kirche
2003-11-24 6:20 ` Eli Zaretskii
[not found] ` <mailman.485.1069658500.399.help-gnu-emacs@gnu.org>
2003-11-24 9:39 ` apropos apropos [was: how do i find out the platform emacs runs on?] Alan Mackenzie
2003-11-24 12:46 ` Eli Zaretskii
2003-11-24 18:45 ` Kevin Rodgers
2003-11-24 21:03 ` Alan Mackenzie
2003-11-25 17:40 ` Kevin Rodgers
[not found] ` <mailman.496.1069681832.399.help-gnu-emacs@gnu.org>
2003-11-29 10:50 ` Alan Mackenzie
2003-11-30 6:53 ` Eli Zaretskii
2003-12-01 9:03 ` how do i find out the platform emacs runs on? Svend Tollak Munkejord
2003-12-01 13:17 ` Eli Zaretskii
2003-12-01 19:15 ` Kevin Rodgers
[not found] ` <mailman.851.1070328153.399.help-gnu-emacs@gnu.org>
2003-12-02 8:20 ` Svend Tollak Munkejord
2003-12-02 17:24 ` Eli Zaretskii
[not found] ` <mailman.924.1070390102.399.help-gnu-emacs@gnu.org>
2003-12-03 8:42 ` Svend Tollak Munkejord
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='3fc47348$0$2368$626a54ce@news.free.fr' \
--to=sebastien.kirche.no@spam.free.fr \
/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.