unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: David Forrest <drf5n@mug.sys.virginia.edu>
Subject: Re: setting the font in .emacs
Date: Sun, 22 Sep 2002 16:52:36 -0400	[thread overview]
Message-ID: <Pine.LNX.4.33.0209221650090.10681-100000@mug.sys.virginia.edu> (raw)
In-Reply-To: <874rchernd.fsf@smtp.blueyonder.co.uk>

On Sun, 22 Sep 2002, Keith wrote:

> >>>>> "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?

Use the variable window-system:

(when window-system (...))

Dave
-- 
 Dave Forrest                                   drf5n@virginia.edu
 (804)642-0662h (434)924-3954w  http://mug.sys.virginia.edu/~drf5n/

  reply	other threads:[~2002-09-22 20:52 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-22 18:37 setting the font in .emacs Dan Hitt
2002-09-22 20:24 ` Oliver Scholz
2002-09-22 19:44   ` Keith
2002-09-22 20:52     ` David Forrest [this message]
2002-09-23  0:31     ` Oliver Scholz
2002-09-23 11:12       ` Keith
2002-09-24 14:59         ` Keith O'Connell
2002-09-24 15:28           ` Kai Großjohann
2002-09-24 18:13             ` Keith O'Connell
2002-09-24 18:58             ` Oliver Scholz
2002-09-24 20:08               ` Kai Großjohann
2002-09-23 18:38     ` Stefan Monnier <foo@acm.com>
2002-09-23 19:40     ` Benjamin Lewis
2002-09-23 11:05   ` Fredrik Staxeng

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=Pine.LNX.4.33.0209221650090.10681-100000@mug.sys.virginia.edu \
    --to=drf5n@mug.sys.virginia.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).