【文件属性】:
文件名称:persistent-soft:Emacs 的持久存储,失败时返回 nil
文件大小:19KB
文件格式:ZIP
更新时间:2021-06-23 05:21:18
EmacsLisp
概述
Emacs 的持久存储,失败时返回 nil。
快速开始
( require 'persistent-soft )
(persistent-soft-store 'hundred 100 " mydatastore " )
(persistent-soft-fetch 'hundred " mydatastore " ) ; 100
(persistent-soft-fetch 'thousand " mydatastore " ) ; nil
; ; quit and restart Emacs
(persistent-soft-fetch 'hundred " mydatastore " ) ; 100
解释
这是的包装器,提供“软”获取和存储例程,这些例程永远不会抛出错误,而是在失败时返回 nil。
此库没有最终用户界面。 它只对其他 Lisp 代码有用。
提
【文件预览】:
persistent-soft-master
----persistent-soft.el(13KB)
----.gitignore(112B)
----Makefile(10KB)
----ert-tests()
--------persistent-soft-c-test.el(7KB)
--------persistent-soft-a-test.el(22KB)
--------persistent-soft-d-test.el(7KB)
--------persistent-soft-z-test.el(3KB)
--------persistent-soft-e-test.el(9KB)
--------persistent-soft-b-test.el(9KB)
----.travis.yml(4KB)
----README.markdown(2KB)