From f32ff8102076fabe513b3135de0adb0ff58cb815 Mon Sep 17 00:00:00 2001 From: Andrea Corallo Date: Wed, 28 Apr 2021 22:00:12 +0200 Subject: [PATCH] * Add a note related to native compilation and Dynamic Binding * doc/lispref/variables.texi (Dynamic Binding): Add a note related to native compilation. --- doc/lispref/variables.texi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/lispref/variables.texi b/doc/lispref/variables.texi index 0ddf3e465d6..b25eea12a53 100644 --- a/doc/lispref/variables.texi +++ b/doc/lispref/variables.texi @@ -1010,6 +1010,9 @@ a dynamic local binding, Emacs records the contents of the value cell value cell. When the binding construct finishes executing, Emacs pops the old value off the stack, and puts it in the value cell. + Note that when code using Dynamic Binding is native compiled the +native compiler will not perform any Lisp specific optimization. + @node Dynamic Binding Tips @subsection Proper Use of Dynamic Binding -- 2.39.5