Peter Dyballa wrote:

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

Thanks for the pointer.  I'm a bit gunshy when it comes to playing around
with the fonts that way.  It hasn't always turned out the way I expected. 
Perhaps I will try again.

What I was really trying to learn is how to call an interactive command
programmatically.  I believe that can be done.
_______________________________________________
Help-gnu-emacs mailing list
Help-gnu-emacs@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs

Reply via email to