unofficial mirror of help-gnu-emacs@gnu.org
 help / color / mirror / Atom feed
From: suzee <vronk+cllbrtn.mcs@mailbox.org>
To: help-gnu-emacs@gnu.org
Subject: Re: Problem with defining a background color by variable
Date: Sun, 12 Jun 2022 11:41:31 +0200	[thread overview]
Message-ID: <43342c57-ee79-c290-6e1e-cb3b061fd835@mailbox.org> (raw)
In-Reply-To: <83zgiiutrj.fsf@gnu.org>

On 12.06.22 11:16, Eli Zaretskii wrote:
>> I'd be happy to understand the error message though to gain some
>> knowledge about elisp.  Any idea about that?
> 
> I think it's because of the quoting: the entire list is quoted, so the
> value of mycolor is not evaluated.  You need to use a smarter quoting,
> something like
> 
>     `((t (:background ,mycolor)))
> 

Ah yeah that works.  I still have to get my head around the quoting.

Thanks for your help!  Problem solved :]



      reply	other threads:[~2022-06-12  9:41 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-06-12  8:24 Problem with defining a background color by variable suzee
2022-06-12  8:34 ` Eli Zaretskii
2022-06-12  8:58   ` suzee
2022-06-12  9:16     ` Eli Zaretskii
2022-06-12  9:41       ` suzee [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=43342c57-ee79-c290-6e1e-cb3b061fd835@mailbox.org \
    --to=vronk+cllbrtn.mcs@mailbox.org \
    --cc=help-gnu-emacs@gnu.org \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).