Commit ed4530db authored by Nicolas Richard's avatar Nicolas Richard
Browse files

* lisp/emacs-lisp/gv.el (gv-ref): Fix example of PLACE in docstring.

parent 88ea396c
...@@ -536,7 +536,7 @@ This macro only makes sense when used in a place." ...@@ -536,7 +536,7 @@ This macro only makes sense when used in a place."
"Return a reference to PLACE. "Return a reference to PLACE.
This is like the `&' operator of the C language. This is like the `&' operator of the C language.
Note: this only works reliably with lexical binding mode, except for very Note: this only works reliably with lexical binding mode, except for very
simple PLACEs such as (function-symbol \\='foo) which will also work in dynamic simple PLACEs such as (symbol-function \\='foo) which will also work in dynamic
binding mode." binding mode."
(let ((code (let ((code
(gv-letplace (getter setter) place (gv-letplace (getter setter) place
......
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