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

[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 08:45:48 -0700 (PDT)
User-agent: G2/1.0

On May 8, 1:23 pm, Carsten Dominik <address@hidden> wrote:
> Jason Rumney <address@hidden> writes:

> > (set-frame-parameter nil 'display-type 'color)
> > (defun display-color-cells (&optional display)
> >   "Fake hicolor display"
> >   65536)
>
> Hmmm, I see where you are heading.  However, in batch mode,
> set-frame-parameter does not seem to be defined as a function....  Also
> a (require 'frame) does not seem to help.

What version of Emacs are you using?

In both 22.2 and current CVS, set-frame-parameter works for me
(frame.el is dumped into Emacs, so functions it defines should always
be available).

I haven't actually tried htmlize with it to check that the faces are
defined as expected, but looking at face-spec-set-match-display, it
should cover the use of :class and :min-colors in face definitions.


reply via email to

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