help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do i find out the platform emacs runs on?


From: Kevin Rodgers
Subject: Re: how do i find out the platform emacs runs on?
Date: Wed, 26 Nov 2003 10:21:45 -0700
User-agent: Mozilla/5.0 (X11; U; SunOS i86pc; en-US; rv:0.9.4.1) Gecko/20020406 Netscape6/6.2.2

seki wrote:

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
        ...
    ))

i.e.


(cond ((eq system-type 'windows-nt)
       ...)
      ((eq system-type 'linux)
       ...)
      ((eq system-type 'darwin)
       ...))

--
Kevin Rodgers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]