[Top][All Lists]

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

Re: colored fonts in batch mode

From: Jason Rumney
Subject: Re: colored fonts in batch mode
Date: Thu, 8 May 2008 04:22:47 -0700 (PDT)
User-agent: G2/1.0

On May 8, 10:15 am, Carsten Dominik <address@hidden> wrote:

> This works great in interactive work, when I actually have a window
> system running.  However, in batch mode, Emacs seems to think that it
> is displaying on a black-and-white device, so the fontification is much
> poorer in this case.

Try putting the following in a file (batch-color.el) and loading it as
the first part of your batch operation:

(set-frame-parameter nil 'display-type 'color)
(defun display-color-cells (&optional display)
  "Fake hicolor display"

reply via email to

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