|
From: | Michael Heerdegen |
Subject: | Re: How to save custom variable programmatically? |
Date: | Tue, 10 Nov 2020 15:36:05 +0100 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Jean Louis <bugs@gnu.support> writes: > If there is anyway of storing data from Emacs that is standard I do > not know about it. Welcoming tips. The eieio-persistent class is made for that purpose. You make your data/database/whatever an object of a class you define as you like, and make that class inherit from eieio-persistent. Then your data is savable out of the box. (info "(eieio) eieio-persistent") Do you need an example? Michael.
[Prev in Thread] | Current Thread | [Next in Thread] |