This package provides two functions:
weak-ref
: Creates a weak reference to an objectweak-ref-deref
: Access the object behind a weak referenceSee it in action:
(setq ref (weak-ref (list 1 2 3))) (weak-ref-deref ref) ; => (1 2 3) (garbage-collect) (weak-ref-deref ref) ; => nil
It's build on top of the weak references provided by hash tables.
AboutWeak references for Emacs Lisp
Resources License Stars Watchers ForksYou can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4