GNU bug report logs -
#53885
Autoload package-installed-p
Previous Next
Reported by: Corwin Brust <corwin <at> bru.st>
Date: Tue, 8 Feb 2022 23:56:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #11 received at 53885 <at> debbugs.gnu.org (full text, mbox):
retitle 53885 28.0.91 [PATCH] Autoload package-installed-p
thanks
I inadvertently included an explicit call to `require' in the
reproducer, which functions as a work-around for this (IMO) missing
autoload. Sorry for any confusion caused.
>
> Reproducer:
>
> NOTE: Make sure you have a folder beneth your home directory called
> "elpa" and that it is empty.
>
> Launch emacs -Q
> Insert and evaluate:
Corrected reproducer:
(progn
(setq package-user-dir "~/elpa")
(setq package-archives
'(("MELPA" .
"https://melpa.org/packages/")))
(unless (package-installed-p 'use-package)
(package-install 'use-package)))
This bug report was last modified 3 years and 162 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.