[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0811177: Feval_buffer doc string lexical-binding cl
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 0811177: Feval_buffer doc string lexical-binding clarification |
Date: |
Mon, 7 Oct 2019 11:25:14 -0400 (EDT) |
branch: master
commit 0811177c96c3265b88592cfb4d83eab53b9b98ba
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
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).
---
src/lread.c | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/src/lread.c b/src/lread.c
index 5000b38..1098190 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)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 0811177: Feval_buffer doc string lexical-binding clarification,
Lars Ingebrigtsen <=