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

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

Re: print hash table to disk and reread in hash table


From: harven
Subject: Re: print hash table to disk and reread in hash table
Date: Fri, 10 Oct 2008 22:38:16 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.1 (darwin)

Xah <xahlee@gmail.com> writes:

> if i have a hash table in elisp, is there a way to save it to disk and
> reread in when starting emacs?

You can try to convert the hash table to an alist using
gnus-hashtable-to-alist, save the alist somewhere, then read it back
at startup using gnus-alist-to-hashtable. These functions come from
gnus, the emacs mailreader, which ships with a basic emacs install.



reply via email to

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