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

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

Re: Elisp newbie: Getting the value from a variable


From: Thomas Link
Subject: Re: Elisp newbie: Getting the value from a variable
Date: Wed, 18 Dec 2002 13:28:10 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.2.1) Gecko/20021130

(setq default-frame-alist '((menu-bar-lines . 1) (top . 5) (left . 100) (width . 100) (height . my-frame-height)
        (cursor-color . "white")
        (cursor-type . box)
        (foreground-color . "black")
        (background-color . "white")
        (font . "-*-Courier New-normal-r-*-*-11-82-96-96-c-*-iso8859-1")
        )
)


You have to use a backquote (see C-h C-f backquote):

(setq default-frame-alist `(... (height . ,my-frame-height) ...)

Ciao,
Thomas.


reply via email to

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