|
From: | Eli Zaretskii |
Subject: | Re: configuring emacs as a programmer's editor |
Date: | Fri, 30 Jun 2006 15:13:53 +0300 |
> From: "Le Wang" <l26wang@gmail.com> > Date: 30 Jun 2006 01:02:40 -0700 > > (if (string-match "win" (prin1-to-string system-type)) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ It's much easier to use (symbol-name system-type). That's if you really need the string representation of system-type; you could simply use (eq system-type 'windows-nt) or (memq system-type '(windows-nt cygwin)) instead.
[Prev in Thread] | Current Thread | [Next in Thread] |