GNU bug report logs - #53885
Autoload package-installed-p

Previous Next

Package: emacs;

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):

From: Corwin Brust <corwin <at> bru.st>
To: 53885 <at> debbugs.gnu.org
Subject: Re: bug#53885: Autoload package-installed-p
Date: Tue, 8 Feb 2022 23:39:37 -0600
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.