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

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

Re: configuring emacs as a programmer's editor


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.




reply via email to

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