From: Cody Goodman <codygman.consulting@gmail.com>
To: help-gnu-emacs@gnu.org
Subject: Why does assq fail when getting quoted value from a property list?
Date: Sun, 5 Aug 2018 22:55:05 -0500 [thread overview]
Message-ID: <CADq_+R3yzagmpN76GGc0LYJAo2=P65PZDGXp7TdLEAkZ1iGf8A@mail.gmail.com> (raw)
This returns (urgent . 2) as I'd expect:
(assq 'urgent '((urgent . 2)))
Why does this not return the same?
(let ((lookup (plist-get '(:severity (quote urgent)) :severity)))
(assq lookup '((urgent . 2))))
Thanks,
Cody
next reply other threads:[~2018-08-06 3:55 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-06 3:55 Cody Goodman [this message]
2018-08-06 7:29 ` Why does assq fail when getting quoted value from a property list? tomas
2018-08-06 11:53 ` Noam Postavsky
2018-08-06 13:27 ` tomas
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='CADq_+R3yzagmpN76GGc0LYJAo2=P65PZDGXp7TdLEAkZ1iGf8A@mail.gmail.com' \
--to=codygman.consulting@gmail.com \
--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).