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

Re: font-lock-colors in xemacs21



On 24 Tammuz 5761, Stephen Rueger wrote:

> Can I tell my XEmacs21 to use different font-lock-colors, when I'm
> using it within X and on the console?

This would probably be better for comp.emacs.xemacs, but you might be
able to use customize to get all your faces looking right for one,
make a copy of those settings wherever customize data is stored,
change them all again for the other setting, make a copy of the new
ones, then do something like this in .emacs:

(if window-system
; In case it is under X
    (custom-set-faces
        (blah-blah-blah))
; In case it isn't
  (custom-set-faces
        (blah-blah-blah)))

Warning: I'm not an XEmacs user, so the syntax might need tweaking.
Note also that this will might break future customizations of faces.
-- 
Charles Sebold                                      25th of Tammuz, 5761
--
It's tuned to a Top Forty rock station and they're in th' middle of a
"BACKSTREET BOYS" weekend!  I'm goin' NUTS from th' PIMPLY BLEATING!

 -- Zippy the Pinhead, 20 October 2000



Reply to: