]> git.eshelyaron.com Git - emacs.git/commitdiff
Feval_buffer doc string lexical-binding clarification
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 15:25:07 +0000 (17:25 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 7 Oct 2019 15:25:07 +0000 (17:25 +0200)
* src/lread.c (Feval_buffer): Mention that the lexical-binding
variable is ignored in the doc string (bug#20139).

src/lread.c

index 5000b38a0154655d069644c66c37c7100bc6ce9e..1098190ae7c35ae5d6522311cca2591d861f5335 100644 (file)
@@ -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)
 {