[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting the font in .emacs
From: |
Oliver Scholz |
Subject: |
Re: setting the font in .emacs |
Date: |
Mon, 23 Sep 2002 02:31:32 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Keith <kroc@blueyonder.co.uk> writes:
>>>>>> "os" == Oliver Scholz <alkibiades@gmx.de> writes:
>
> os> (set-face-font 'default
> os> "-b&h-lucidatypewriter-medium-r-*-*-*-140-*-*-*-*-iso8859-1")
>
>
> That was something I had not yet found out, but actually solved one of
> my small problems. Tried it and it worked perfectly.
>
> Unfortunately I use emacs at the cli as well and this generates an
> error if emacs is started outside of X. How should it be modified to
> only apply ix X is running, there by not generating the error?
[...]
Yes, you can check for various display capabilities with the
`display-.*-p'-functions. In this case `display-multi-font-p' would be
the appropriate one:
(when (display-multi-font-p)
(set-face-font ...))
-- Oliver
--
2 Vendémiaire an 211 de la Révolution
Happy new year 211!
Liberté, Egalité, Fraternité!
- setting the font in .emacs, Dan Hitt, 2002/09/22
- Re: setting the font in .emacs, Oliver Scholz, 2002/09/22
- Re: setting the font in .emacs, Keith, 2002/09/22
- Re: setting the font in .emacs, David Forrest, 2002/09/22
- Re: setting the font in .emacs,
Oliver Scholz <=
- Re: setting the font in .emacs, Keith, 2002/09/23
- Re: setting the font in .emacs, Keith O'Connell, 2002/09/24
- Re: setting the font in .emacs, Kai Großjohann, 2002/09/24
- Re: setting the font in .emacs, Keith O'Connell, 2002/09/24
- Re: setting the font in .emacs, Oliver Scholz, 2002/09/24
- Re: setting the font in .emacs, Kai Großjohann, 2002/09/24
- Re: setting the font in .emacs, Stefan Monnier <address@hidden>, 2002/09/23
- Re: setting the font in .emacs, Benjamin Lewis, 2002/09/23
Re: setting the font in .emacs, Fredrik Staxeng, 2002/09/23