From: Lars Ingebrigtsen Date: Mon, 7 Oct 2019 15:25:07 +0000 (+0200) Subject: Feval_buffer doc string lexical-binding clarification X-Git-Tag: emacs-27.0.90~1234 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0811177c96c3265b88592cfb4d83eab53b9b98ba;p=emacs.git Feval_buffer doc string lexical-binding clarification * src/lread.c (Feval_buffer): Mention that the lexical-binding variable is ignored in the doc string (bug#20139). --- diff --git a/src/lread.c b/src/lread.c index 5000b38a015..1098190ae7c 100644 --- a/src/lread.c +++ b/src/lread.c @@ -2147,6 +2147,12 @@ DO-ALLOW-PRINT, if non-nil, specifies that output functions in the evaluated code should work normally even if PRINTFLAG is nil, in which case the output is displayed in the echo area. +This function ignores the current value of the `lexical-binding' +variable. Instead it will heed any + -*- lexical-binding: t -*- +settings in the buffer, and if there is no such setting, the buffer +will be evaluated without lexical binding. + This function preserves the position of point. */) (Lisp_Object buffer, Lisp_Object printflag, Lisp_Object filename, Lisp_Object unibyte, Lisp_Object do_allow_print) {