all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Why does assq fail when getting quoted value from a property list?
@ 2018-08-06  3:55 Cody Goodman
  2018-08-06  7:29 ` tomas
  0 siblings, 1 reply; 4+ messages in thread
From: Cody Goodman @ 2018-08-06  3:55 UTC (permalink / raw
  To: help-gnu-emacs

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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-08-06 13:27 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-06  3:55 Why does assq fail when getting quoted value from a property list? Cody Goodman
2018-08-06  7:29 ` tomas
2018-08-06 11:53   ` Noam Postavsky
2018-08-06 13:27     ` tomas

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.