[Top][All Lists]

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

Re: Hang in Emacs 21.3.50

From: Kai Großjohann
Subject: Re: Hang in Emacs 21.3.50
Date: Fri, 29 Nov 2002 14:26:56 +0100
User-agent: Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu)

"Dhruva Krishnamurthy" <address@hidden> writes:

> 2.
> (defconst my-def-font "-*-Arial
> Monospaced-normal-r-*-*-13-*-*-*-c-*-fontset-standard")
> (nconc default-frame-alist
>        (list '(height . 40))
>        (list '(font . my-def-font))
>        (list '(background-color . "light grey")))

What you want is `(font . ,my-def-font) instead of '(font .
my-def-font) -- the latter uses the symbol my-def-font as the font,
the former evals it as a variable.

And I think nconc is somewhat dangerous (in esoteric cases).  How
about the following?

    (add-to-list 'default-frame-alist '(height . 40))
    (add-to-list 'default-frame-alist `(font . ,my-def-font))
    (add-to-list 'default-frame-alist '(background-color . "light grey"))

~/.signature is: umop ap!sdn    (Frank Nobis)

reply via email to

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