Commit 784c1a7b authored by Stefan Monnier's avatar Stefan Monnier
Browse files

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

parent 914adc42
2012-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
 
* emacs-lisp/bytecomp.el (byte-compile-initial-macro-environment):
Byte-compile *before* eval in eval-and-compile.
(byte-compile-log-warning): Remove redundant inhibit-read-only.
(byte-compile-file-form-autoload): Don't hide actual definition.
(byte-compile-maybe-guarded): Accept `functionp' as well.
* emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
 
2012-11-07 Michael Albinus <michael.albinus@gmx.de>
......
......@@ -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.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment