This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Updated: emacs*-24.2.90-1 (TEST)


On 12/6/12 1:37 PM, Achim Gratz wrote:
> Yes, either that or via site-init.el.  Currently when it reads in the
> customization it finds a default font that doesn't make any sense in
> Win32 and it ends up using Arial (probably because its the first on the
> list, so it seems it doesn't even bother to look for a fixed-width
> font).  Trying to set the font on the command line doesn't seem to work
> or gets later overridden by customization (I haven't had the time to
> debug this yet).

Under Cygwin, the variable system-type will be 'cygwin; under Windows,
it will be 'windows-nt. You can perform conditional initialization as
follows:

(cond ((eq system-type 'cygwin) (cygwin-specific-initialization))
      ((eq system-type 'windows-nt) (windows-specific-initialization))
      (t (default-initialization))



Attachment: signature.asc
Description: OpenPGP digital signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]