Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emacs
emacs
Commits
df842a73
Commit
df842a73
authored
Dec 05, 2023
by
Stefan Monnier
Browse files
* lisp/emacs-lisp/package.el (package-activate-all): Fix second-order warning
parent
4f0239d8
Pipeline
#27393
failed with stages
in 2 minutes and 12 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
2 deletions
+7
-2
lisp/emacs-lisp/package.el
lisp/emacs-lisp/package.el
+7
-2
No files found.
lisp/emacs-lisp/package.el
View file @
df842a73
...
...
@@ -1732,8 +1732,13 @@ The variable `package-load-list' controls which packages to load."
t
)))
(
progn
(
require
'package
)
(
declare-function
package--activate-all
"package"
())
(
package--activate-all
))))))
;; Silence the "unknown function" warning when this is compiled
;; inside `loaddefs.el'.
;; FIXME: We use `with-no-warnings' because the effect of
;; `declare-function' is currently not scoped, so if we use
;; it here, we end up with a redefinition warning instead :-)
(
with-no-warnings
(
package--activate-all
)))))))
(
defun
package--activate-all
()
(
dolist
(
elt
(
package--alist
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment