aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Kangas2021-11-10 15:15:09 +0100
committerStefan Kangas2021-11-10 15:24:29 +0100
commit810fa21d26453f898de9747ece7205dfe6de9d08 (patch)
tree06ad5c69eda4b306de02988ac4551a0c6888db28
parent1e7720d39afa9b86c5c1bf4bfded994fa6e48aff (diff)
downloademacs-810fa21d26453f898de9747ece7205dfe6de9d08.tar.gz
emacs-810fa21d26453f898de9747ece7205dfe6de9d08.zip
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.
-rw-r--r--lisp/emacs-lisp/package.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/package.el b/lisp/emacs-lisp/package.el
index 55378ef8bd6..27eaa484f9a 100644
--- a/lisp/emacs-lisp/package.el
+++ b/lisp/emacs-lisp/package.el
@@ -4178,6 +4178,7 @@ activations need to be changed, such as when `package-load-list' is modified."
4178 (replace-match (if (match-end 1) "" pfile) t t))) 4178 (replace-match (if (match-end 1) "" pfile) t t)))
4179 (unless (bolp) (insert "\n")) 4179 (unless (bolp) (insert "\n"))
4180 (insert ")\n"))) 4180 (insert ")\n")))
4181 (pp `(defvar package-activated-list) (current-buffer))
4181 (pp `(setq package-activated-list 4182 (pp `(setq package-activated-list
4182 (append ',(mapcar #'package-desc-name package--quickstart-pkgs) 4183 (append ',(mapcar #'package-desc-name package--quickstart-pkgs)
4183 package-activated-list)) 4184 package-activated-list))