bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#47072: 28.0.50; Package package can't be reloaded anymore


From: Eli Zaretskii
Subject: bug#47072: 28.0.50; Package package can't be reloaded anymore
Date: Thu, 22 Apr 2021 09:58:03 +0300

> From: Stefan Kangas <stefan@marxist.se>
> Date: Wed, 21 Apr 2021 15:28:20 -0700
> Cc: 47072@debbugs.gnu.org
> 
> Julian Scheid <jscheid@protonmail.com> writes:
> 
> > This used to work not long ago:
> >
> > emacs -Q --batch --eval "(progn (require 'package) (unload-feature 
> > 'package) (require 'package))"
> >
> > Now it breaks with:
> >
> > Debugger entered--Lisp error: (void-variable package-user-dir)
> >   require(package)
> >   (progn (require 'package) (unload-feature 'package) (require 'package))
> >   eval((progn (require 'package) (unload-feature 'package) (require 
> > 'package)) t)
> >   command-line-1(("--eval" "(progn (require 'package) (unload-feature 
> > 'package..."))
> >   command-line()
> >   normal-top-level()
> >
> > Which in turn breaks my fix for
> > https://github.com/alphapapa/makem.sh/issues/31
> >
> > If this is something that can't/won't be fixed, could you recommend a
> > workaround?
> 
> I can confirm that the above recipe works using 27.2 but not with
> 28.0.50.

Stefan Monnier tweaked the code there recently, perhaps that's the
reason.  Stefan, can you take a look, please?





reply via email to

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