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

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

Re: One .emacs for three operating system


From: Eric Hanchrow
Subject: Re: One .emacs for three operating system
Date: Tue, 14 Aug 2007 16:35:07 -0700
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1.50 (gnu/linux)

>>>>> "Eric" == Eric Lilja <mindcooler@gmail.com> writes:

    Eric> if running-under-solaris is true do this else ; assume we
    Eric>    are running under winxp or fedora7 do that

I do just that sort of thing like this:

(case system-type
  ((windows-nt)
   "Boy, I'm unhappy because I'm running on Windoze")
  ((cygwin32 cygwin)
   (setq desktop-modes-not-to-save `(dired-mode)))
  ((darwin)
   ("OS X")
   (setq grep-command "egrep --color=never -nH -e "))
  ((gnu/linux)
   (setq freedom-level "'Free' as in 'Belgian Ale'")))

-- 
The only form of intelligence that really matters is the capacity to predict.
        -- Colin Blakemore





reply via email to

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