* lisp/emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.

This commit is contained in:
Stefan Monnier 2012-11-08 09:21:21 -05:00
parent 914adc427f
commit 784c1a7b3a
2 changed files with 6 additions and 1 deletions

View file

@ -443,7 +443,6 @@ This is like the `&' operator of the C language."
`(cons (lambda () ,getter)
(lambda (gv--val) ,(funcall setter 'gv--val)))))
;;;###autoload
(defsubst gv-deref (ref)
"Dereference REF, returning the referenced value.
This is like the `*' operator of the C language.