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

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

Re: Changing foreground/background colors in all frames


From: Norbert Melzer
Subject: Re: Changing foreground/background colors in all frames
Date: Wed, 21 Jun 2006 21:21:55 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.4) Gecko/20060516 SeaMonkey/1.0.2 Mnenhy/0.7.4.0

Ehud Karni schrieb:
> (defun set-frame-value-all (key val)        ;; change frame attribute
>     (aput 'initial-frame-alist key val)     ;; for ALL frames
>     (aput 'default-frame-alist key val)
>     (modify-frame-parameters (selected-frame) (list (cons key val))))
> 
> 
> ;; instead of (set-background-color "black") use:
>     (set-frame-value-all 'background-color "black")
> 
> ;; instead of (set-foreground-color "black") use:
>     (set-frame-value-all 'foreground-color "black")

Doesn't help here:

Symbol's function definition is void: aput

Thats what I get when inserting in ~/.emacs and starting :-(


reply via email to

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