diff options
| author | Lars Ingebrigtsen | 2022-07-31 11:21:47 +0200 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2022-07-31 11:21:47 +0200 |
| commit | c5df73941efaca822cd04ad7a61cdc70eae2d547 (patch) | |
| tree | cd5936941d9d5eb4f01aa62f3e24ff8b75c22dc6 | |
| parent | ca14dbd6b5bf0c3941cb70b5b46a8c9bc8f7a41d (diff) | |
| download | emacs-c5df73941efaca822cd04ad7a61cdc70eae2d547.tar.gz emacs-c5df73941efaca822cd04ad7a61cdc70eae2d547.zip | |
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.
| -rw-r--r-- | lisp/emacs-lisp/package.el | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el index 7424678008f..97be7d6e508 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 | |||
| 320 | contrast, `package-user-dir' contains packages for personal use." | 320 | contrast, `package-user-dir' contains packages for personal use." |
| 321 | :type '(repeat directory) | 321 | :type '(repeat directory) |
| 322 | :initialize #'custom-initialize-delay | 322 | :initialize #'custom-initialize-delay |
| 323 | :group 'applications | ||
| 323 | :risky t | 324 | :risky t |
| 324 | :version "24.1") | 325 | :version "24.1") |
| 325 | 326 | ||
| @@ -628,6 +629,7 @@ called via `package-activate-all'. To change which packages are | |||
| 628 | loaded and/or activated, customize `package-load-list'.") | 629 | loaded and/or activated, customize `package-load-list'.") |
| 629 | (put 'package-alist 'risky-local-variable t) | 630 | (put 'package-alist 'risky-local-variable t) |
| 630 | 631 | ||
| 632 | ;;;###autoload | ||
| 631 | (defvar package-activated-list nil | 633 | (defvar package-activated-list nil |
| 632 | ;; FIXME: This should implicitly include all builtin packages. | 634 | ;; FIXME: This should implicitly include all builtin packages. |
| 633 | "List of the names of currently activated packages.") | 635 | "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." | |||
| 4287 | (locate-user-emacs-file "package-quickstart.el") | 4289 | (locate-user-emacs-file "package-quickstart.el") |
| 4288 | "Location of the file used to speed up activation of packages at startup." | 4290 | "Location of the file used to speed up activation of packages at startup." |
| 4289 | :type 'file | 4291 | :type 'file |
| 4292 | :group 'applications | ||
| 4290 | :initialize #'custom-initialize-delay | 4293 | :initialize #'custom-initialize-delay |
| 4291 | :version "27.1") | 4294 | :version "27.1") |
| 4292 | 4295 | ||