From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Norbert Melzer Newsgroups: gmane.emacs.help Subject: Re: Changing foreground/background colors in all frames Date: Wed, 21 Jun 2006 21:21:55 +0200 Organization: T-Online Message-ID: <44999C53.2070706@news.nobbz.de> References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1150918847 1106 80.91.229.2 (21 Jun 2006 19:40:47 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 21 Jun 2006 19:40:47 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 21 21:40:46 2006 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1Ft8Yz-0006xv-24 for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jun 2006 21:40:33 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ft8Yy-0004aA-HX for geh-help-gnu-emacs@m.gmane.org; Wed, 21 Jun 2006 15:40:32 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!postnews.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.de!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 18 Original-X-Trace: news.t-online.com 1150917896 01 29717 2GV0vftJZFiI9AC 060621 19:24:56 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: SxH46-Z-YeF9Lbju0RFkZfbGkvBgETRPwf6ACPtMTNI2PXpfH3Fv6X 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 In-Reply-To: Original-Xref: shelby.stanford.edu gnu.emacs.help:139953 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:35577 Archived-At: 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 :-(