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

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

Re: load-theme and changing fonts


From: Mark Skilbeck
Subject: Re: load-theme and changing fonts
Date: Mon, 30 Jul 2012 13:14:47 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Mon, Jul 30, 2012 at 11:33:28AM +0100, Mark Skilbeck wrote:
> Hi, all.
> 
> In my .emacs, I am configuring the default font with the following
> code: 
> 
>   (add-to-list 'default-frame-alist
>     '(font . "-unknown-Droid Sans 
> Mono-normal-normal-normal-*-11-*-*-*-m-0-iso10646-1"))
> 
> Now, if the fancy arrives and I change the theme with M-x load-theme,
> for some themes the font will be changed also! This is a pain in the
> rear as I must then determine (from my .emacs) the rather offensive
> string included in the above excerpt.
> 
> Can the theme system be configured to leave the font alone?
> 
> Danke!
> 

Setting the font in .Xdefaults appears to remedy the issue.

  Emacs*Font: Inconsolata-11:antialias=True
  emacs.FontBackend: xtf

-- 
- mgs.

if all you young men / were fish in the water 
how many young girls / would undress and dive after



reply via email to

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