]> git.eshelyaron.com Git - emacs.git/commitdiff
; * src/lread.c (warn_missing_cookie): Fix typo.
authorPo Lu <luangruo@yahoo.com>
Sat, 4 May 2024 03:12:16 +0000 (11:12 +0800)
committerEshel Yaron <me@eshelyaron.com>
Mon, 6 May 2024 16:38:04 +0000 (18:38 +0200)
(cherry picked from commit 7a7dd87842fde85666208b1ce26882aa83d99107)

src/lread.c

index 2c856f5d42e13f5b7e2264297fda6c086705d7e8..a8ea52a888dd0117fc43b98a848f5f6e2a7ded25 100644 (file)
@@ -1352,10 +1352,10 @@ warn_missing_cookie (Lisp_Object file)
   if (!NILP (Fequal (file, Vuser_init_file)))
     return;
 
-  file = CALLN (Fformat,
-               build_string ("File %s lacks `lexical-binding'"
-                             " directive on its first line"),
-               file);
+  msg = CALLN (Fformat,
+              build_string ("File %s lacks `lexical-binding'"
+                            " directive on its first line"),
+              file);
   Vdelayed_warnings_list = Fcons (list2 (Qlexical_binding, msg),
                                  Vdelayed_warnings_list);
 }