I'm relatively new to Elisp and I'm trying to figure out a bug in my code, but I have no idea what to search or read in order to get an idea about it.
The bug is in this code:
(defvar some-variable "some-value")
(setq some-plist
'(:name "name" :query some-variable :key 97))
(stringp (plist-get some-plist :query)) ;; nil (HERE)
(stringp some-variable) ;; t
Even though (plist-get some-plist :query) returns some-variable, why does stringp on it returns nil?