all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Norbert Melzer <norbert.melzer@gmx.net>
Subject: Re: Changing foreground/background colors in all frames
Date: Wed, 21 Jun 2006 21:21:55 +0200	[thread overview]
Message-ID: <44999C53.2070706@news.nobbz.de> (raw)
In-Reply-To: <mailman.3128.1150911529.9609.help-gnu-emacs@gnu.org>

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 :-(

  parent reply	other threads:[~2006-06-21 19:21 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-21 15:33 Changing foreground/background colors in all frames Swidan, Firas
2006-06-21 17:24 ` Gilbert Harman
2006-06-21 18:45   ` Swidan, Firas
2006-06-21 17:38 ` Ehud Karni
2006-06-21 19:21 ` Peter Dyballa
     [not found] ` <mailman.3128.1150911529.9609.help-gnu-emacs@gnu.org>
2006-06-21 19:21   ` Norbert Melzer [this message]
2006-06-21 20:15     ` Drew Adams
     [not found] <mailman.3123.1150909180.9609.help-gnu-emacs@gnu.org>
2006-06-21 22:36 ` Tim X

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=44999C53.2070706@news.nobbz.de \
    --to=norbert.melzer@gmx.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.