[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
master c5df73941e 1/5: Fix further package.el loaddefs byte-compile warn
From: |
Lars Ingebrigtsen |
Subject: |
master c5df73941e 1/5: Fix further package.el loaddefs byte-compile warnings |
Date: |
Sun, 31 Jul 2022 05:30:08 -0400 (EDT) |
branch: master
commit c5df73941efaca822cd04ad7a61cdc70eae2d547
Author: Lars Ingebrigtsen <larsi@gnus.org>
Commit: Lars Ingebrigtsen <larsi@gnus.org>
Fix further package.el loaddefs byte-compile warnings
* lisp/emacs-lisp/package.el (package-directory-list)
(package-quickstart-file): Specify group to avoid warning when
byte-compiling loaddefs.el.
(package-activated-list): Autoload since we're assigning the
variable from a function completely autoloaded.
---
lisp/emacs-lisp/package.el | 3 +++
1 file changed, 3 insertions(+)
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 7424678008..97be7d6e50 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -320,6 +320,7 @@ These directories contain packages intended for
system-wide; in
contrast, `package-user-dir' contains packages for personal use."
:type '(repeat directory)
:initialize #'custom-initialize-delay
+ :group 'applications
:risky t
:version "24.1")
@@ -628,6 +629,7 @@ called via `package-activate-all'. To change which
packages are
loaded and/or activated, customize `package-load-list'.")
(put 'package-alist 'risky-local-variable t)
+;;;###autoload
(defvar package-activated-list nil
;; FIXME: This should implicitly include all builtin packages.
"List of the names of currently activated packages.")
@@ -4287,6 +4289,7 @@ activations need to be changed, such as when
`package-load-list' is modified."
(locate-user-emacs-file "package-quickstart.el")
"Location of the file used to speed up activation of packages at startup."
:type 'file
+ :group 'applications
:initialize #'custom-initialize-delay
:version "27.1")