mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-16 09:14:18 +00:00
Ensure package contents for package suggestions
* lisp/emacs-lisp/package.el (package--autosugest-prompt): Query archives if the package being described is not listed in package-archive-contents'.
This commit is contained in:
parent
02af0e93a0
commit
1b02bf1214
1 changed files with 6 additions and 1 deletions
|
|
@ -4578,7 +4578,12 @@ so you have to select which to install!)" nl))
|
|||
(package--autosuggest-install-and-enable
|
||||
(car sugs))
|
||||
(quit-window)))
|
||||
" (" (buttonize "about" #'describe-package pkg)
|
||||
" ("
|
||||
(buttonize "about"
|
||||
(lambda (_)
|
||||
(unless (assq pkg package-archive-contents)
|
||||
(package-read-all-archive-contents))
|
||||
(describe-package pkg)))
|
||||
", matches ")
|
||||
(dolist (sug sugs)
|
||||
(unless (eq (char-before) ?\s)
|
||||
|
|
|
|||
Loading…
Reference in a new issue