में महत्वपूर्ण नहीं देखता रहा ielm में निम्नलिखित elisp कोड का मूल्यांकन:Emacs: gethash hashtable
(setq foo-hash (make-hash-table))
(puthash "location" "house" foo-hash)
(defun foo-start()
(interactive)
(message (gethash "location" foo-hash)))
हालांकि मैं जब चलाने (foo-start)
या (gethash "location" foo-hash)
मैं केवल nil
गूँजती मिलता है। Ielm echoes में foo-hash
दर्ज करना: #s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data ("location" "house"))
क्या यह एक बग है या मैं कुछ गलत कर रहा हूं?
Emacs संस्करण: डिफ़ॉल्ट रूप से तुलना के लिए elisp उपयोग eql
में 24.0.95.1