Avoid another byte-compiler warning in package-quickstart.el
* lisp/emacs-lisp/package.el (package-quickstart-refresh): Avoid byte-compiler warning "assignment to free variable" in package-quickstart.el.
This commit is contained in:
parent
1e7720d39a
commit
810fa21d26
1 changed files with 1 additions and 0 deletions
|
@ -4178,6 +4178,7 @@ activations need to be changed, such as when `package-load-list' is modified."
|
|||
(replace-match (if (match-end 1) "" pfile) t t)))
|
||||
(unless (bolp) (insert "\n"))
|
||||
(insert ")\n")))
|
||||
(pp `(defvar package-activated-list) (current-buffer))
|
||||
(pp `(setq package-activated-list
|
||||
(append ',(mapcar #'package-desc-name package--quickstart-pkgs)
|
||||
package-activated-list))
|
||||
|
|
Loading…
Add table
Reference in a new issue