help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Why does assq fail when getting quoted value from a property list?


From: Cody Goodman
Subject: Why does assq fail when getting quoted value from a property list?
Date: Sun, 5 Aug 2018 22:55:05 -0500

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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]