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

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

Re: calling set-face-font in the .gun-emacs (aka .emacs)


From: Peter Dyballa
Subject: Re: calling set-face-font in the .gun-emacs (aka .emacs)
Date: Wed, 18 May 2005 12:12:06 +0200


Am 17.05.2005 um 07:14 schrieb Hattuari:

I spent the last hour
trying to figure out how to call set-face-font so that the default face
font is -adobe-courier-bold-r-normal--20-140-100-100-m-110-iso8859-15.

set-face-font is an interactive compiled Lisp function in `faces'.
(set-face-font face font &optional frame)

Change font-related attributes of face to those of font (a string).
frame nil or not specified means change face on all frames.
This sets the attributes `:family', `:width', `:height', `:weight',
and `:slant'.  When called interactively, prompt for the face and font.

One example I found with find-grep:

(set-face-font face gamegrid-font)

Could be close to my face customized prompt's setting:

'(comint-highlight-prompt ((t (:background "LemonChiffon" :foreground "dark blue" :weight bold :family "-*-courier new-medium-r-*-10646-1"))))

--
Greetings

  Pete

Think of XML as Lisp for COBOL programmers.

        -- Tony-A (some guy on /.)



--
Mit friedvollen Grüßen

  Pete

The human animal differs from the lesser primates in his passion for lists of "Ten Best".
                -- H. Allen Smith




reply via email to

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