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: leo
Subject: Re: how do i find out the platform emacs runs on?
Date: Tue, 25 Nov 2003 14:53:14 +1100

thanks a lot! that's exactly what i need!

leo

"Ola Nilsson" <sds024five1@sydpost.nospam.nu> wrote in message
871xryxpmo.fsf@helmut.nilsson.homedns.org">news:871xryxpmo.fsf@helmut.nilsson.homedns.org...
> "leo" <halloleo@noospaam.myrealbox.com> 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]