emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/pkg 50b6fd71e96 2/2: Bind *package* to emacs in load


From: Gerd Moellmann
Subject: scratch/pkg 50b6fd71e96 2/2: Bind *package* to emacs in load
Date: Sat, 12 Aug 2023 09:17:41 -0400 (EDT)

branch: scratch/pkg
commit 50b6fd71e960d070e3d794bfe692ed5bf3fe6aa0
Author: Gerd Möllmann <gerd@gnu.org>
Commit: Gerd Möllmann <gerd@gnu.org>

    Bind *package* to emacs in load
    
    * src/lread.c (Fload): Bind symbol-packages and *package*.
---
 src/lread.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lread.c b/src/lread.c
index d65f05be1eb..e300485f08d 100644
--- a/src/lread.c
+++ b/src/lread.c
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]