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: Ola Nilsson
Subject: Re: how do i find out the platform emacs runs on?
Date: Mon, 24 Nov 2003 06:11:25 GMT
User-agent: Gnus/5.1002 (Gnus v5.10.2) Emacs/21.3 (gnu/linux)

"leo" <address@hidden> writes:

> i use emacs at work (pc) and at home (mac) and want to use the same .emacs
> file with some conditionals.
>
> so how do i find out if emacs runs on the pc or onthe mac?

I use this in my .emacs. However, I've yet to learn more about elisp, so there
might be better ways:

(if (eq system-type 'windows-nt)
    (require 'cygwin-mount)
  )

Regards,
-- 
/Ola Nilsson


reply via email to

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