summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-11-08 09:21:21 -0500
committerStefan Monnier <monnier@iro.umontreal.ca>2012-11-08 09:21:21 -0500
commit784c1a7b3aae2f43894ba711ae6dd77aa8bb96c7 (patch)
tree1ec57c347441a3e86138f3bd4ec5f9ee51007ebb
parent914adc427f7d1159356e465ec616c65a2ea902af (diff)
downloademacs-784c1a7b3aae2f43894ba711ae6dd77aa8bb96c7.tar.gz
* lisp/emacs-lisp/gv.el (gv-ref, gv-deref): New function and macro.
-rw-r--r--lisp/ChangeLog6
-rw-r--r--lisp/emacs-lisp/gv.el1
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index e0ff05aa7dc..e44f1a7cdff 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,11 @@
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>
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
index 34e29ba1cbd..72c2ec60734 100644
--- a/lisp/emacs-lisp/gv.el
+++ b/lisp/emacs-lisp/gv.el
@@ -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.