]> git.eshelyaron.com Git - emacs.git/commitdiff
Make *pacakge* buffer-local
authorGerd Möllmann <gerd@gnu.org>
Wed, 26 Oct 2022 11:54:14 +0000 (13:54 +0200)
committerGerd Möllmann <gerd@gnu.org>
Wed, 26 Oct 2022 11:54:14 +0000 (13:54 +0200)
* src/pkg.c (syms_of_pkg): Use Fmake_variable_buffer_local
for Qearmuffs_package.

src/pkg.c

index ac63d79fc31ba096075bc03d8fdfe1a90871b927..7098ba2bb22e24e212626defce420aa9b1dcc453 100644 (file)
--- a/src/pkg.c
+++ b/src/pkg.c
@@ -941,7 +941,7 @@ syms_of_pkg (void)
                     doc: /* The keyword package.  For internal use only.  */);
   DEFVAR_LISP_NOPRO ("*package*", Vearmuffs_package,
                     doc: /* The current package.  */);
-
+  Fmake_variable_buffer_local (Qearmuffs_package);
   DEFVAR_LISP_NOPRO ("package-prefixes", Vpackage_prefixes,
                     doc: /* */);
   Fmake_variable_buffer_local (Qpackage_prefixes);