]> git.eshelyaron.com Git - emacs.git/commitdiff
Bind *package* to emacs in load
authorGerd Möllmann <gerd@gnu.org>
Sat, 12 Aug 2023 13:15:32 +0000 (15:15 +0200)
committerGerd Möllmann <gerd@gnu.org>
Sat, 12 Aug 2023 13:17:17 +0000 (15:17 +0200)
* src/lread.c (Fload): Bind symbol-packages and *package*.

src/lread.c

index d65f05be1eb53563be744d5da4689ae0a2a1ceec..e300485f08daf00784511bd15ff36e30450fbbf5 100644 (file)
@@ -1585,6 +1585,8 @@ Return t if the file exists and loads successfully.  */)
      so that it takes effect whether or not we use
      Vload_source_file_function.  */
   specbind (Qlexical_binding, Qnil);
+  specbind (Qsymbol_packages, Qnil);
+  specbind (Qearmuffs_package, Vemacs_package);
 
   Lisp_Object found_eff =
     is_native_elisp