aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPo Lu2025-04-08 09:46:16 +0800
committerPo Lu2025-04-08 09:46:16 +0800
commit9b7402c5fdbae1ec88c47101e9e8f74fcbffe5ec (patch)
tree982522daf8716abe13983c48e8e05eecb0693821 /src
parent9f25d46568bf0a4d617145537db4c8aaf5e0219b (diff)
downloademacs-9b7402c5fdbae1ec88c47101e9e8f74fcbffe5ec.tar.gz
emacs-9b7402c5fdbae1ec88c47101e9e8f74fcbffe5ec.zip
; * src/lread.c (get_lexical_binding): Fix coding style.
Diffstat (limited to 'src')
-rw-r--r--src/lread.c15
1 files changed, 9 insertions, 6 deletions
diff --git a/src/lread.c b/src/lread.c
index 445e5cd1fba..d39330bd0eb 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -1275,12 +1275,15 @@ static Lisp_Object
1275get_lexical_binding (Lisp_Object stream, Lisp_Object from) 1275get_lexical_binding (Lisp_Object stream, Lisp_Object from)
1276{ 1276{
1277 lexical_cookie_t lexc = lisp_file_lexical_cookie (stream); 1277 lexical_cookie_t lexc = lisp_file_lexical_cookie (stream);
1278 return (lexc == Cookie_Lex ? Qt 1278 return ((lexc == Cookie_Lex
1279 : lexc == Cookie_Dyn ? Qnil 1279 ? Qt
1280 : (NILP (from) /* Loading a byte-compiled file. */ 1280 : (lexc == Cookie_Dyn
1281 || NILP (Vinternal__get_default_lexical_binding_function) 1281 ? Qnil
1282 ? Fdefault_toplevel_value (Qlexical_binding) 1282 : ((NILP (from) /* Loading a byte-compiled file. */
1283 : calln (Vinternal__get_default_lexical_binding_function, from))); 1283 || NILP (Vinternal__get_default_lexical_binding_function))
1284 ? Fdefault_toplevel_value (Qlexical_binding)
1285 : calln (Vinternal__get_default_lexical_binding_function,
1286 from)))));
1284} 1287}
1285 1288
1286DEFUN ("load", Fload, Sload, 1, 5, 0, 1289DEFUN ("load", Fload, Sload, 1, 5, 0,