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

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

bug#53885: Autoload package-installed-p


From: Corwin Brust
Subject: 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)))





reply via email to

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