I have this working bit of code
(setq block_id nil)
(setq myHash (make-hash-table :test 'equal))
(puthash "5" "a" myHash)
(message (gethash "5" myHash))
it inserts a string in to the hash. and printss out "a" as its supposed to do. but how do I insert a list in to the hash? I tried
(setq block_id nil)
(setq myHash (make-hash-table :test 'equal))
(puthash "5" ("list foo" "baa" "baz") myHash)
(message (gethash "5" myHash))
but I get a nil from the my emacs elisp repl.
message
should be a format string, not a list.(message "%S" (gethash "5" myHash))
block_id
have to do with this?