]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/lread.c (get_lexical_binding): Fix coding style.
authorPo Lu <luangruo@yahoo.com>
Tue, 8 Apr 2025 01:46:16 +0000 (09:46 +0800)
committerEshel Yaron <me@eshelyaron.com>
Tue, 8 Apr 2025 05:50:16 +0000 (07:50 +0200)
(cherry picked from commit 9b7402c5fdbae1ec88c47101e9e8f74fcbffe5ec)

src/lread.c

index 445e5cd1fba422792c92b27dca4de9255643692a..d39330bd0eba80e126e2e9694e5061154acf1ef3 100644 (file)
@@ -1275,12 +1275,15 @@ static Lisp_Object
 get_lexical_binding (Lisp_Object stream, Lisp_Object from)
 {
   lexical_cookie_t lexc = lisp_file_lexical_cookie (stream);
-  return (lexc == Cookie_Lex ? Qt
-         : lexc == Cookie_Dyn ? Qnil
-         : (NILP (from)        /* Loading a byte-compiled file.  */
-            || NILP (Vinternal__get_default_lexical_binding_function)
-            ? Fdefault_toplevel_value (Qlexical_binding)
-            : calln (Vinternal__get_default_lexical_binding_function, from)));
+  return ((lexc == Cookie_Lex
+          ? Qt
+          : (lexc == Cookie_Dyn
+             ? Qnil
+             : ((NILP (from)   /* Loading a byte-compiled file.  */
+                 || NILP (Vinternal__get_default_lexical_binding_function))
+                ? Fdefault_toplevel_value (Qlexical_binding)
+                : calln (Vinternal__get_default_lexical_binding_function,
+                         from)))));
 }
 
 DEFUN ("load", Fload, Sload, 1, 5, 0,