about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-packages.el
diff options
context:
space:
mode:
Diffstat (limited to '.emacs.d/lisp/init-packages.el')
-rw-r--r--.emacs.d/lisp/init-packages.el3
1 files changed, 1 insertions, 2 deletions
diff --git a/.emacs.d/lisp/init-packages.el b/.emacs.d/lisp/init-packages.el
index 4c6211a..700d666 100644
--- a/.emacs.d/lisp/init-packages.el
+++ b/.emacs.d/lisp/init-packages.el
@@ -54,8 +54,7 @@
 
 (defun run-straight-lock-file-function (func)
   "Safely run straight lockfile-related function `FUNC'.
-This will set `features' back the value it had before loading straight, to ensure
-that everything loaded by `require' or `use-package' is re-loaded."
+This will remove all init-* files from `features', so that they are reloaded."
   (setq features (seq-filter '(lambda (elt) (not (string-prefix-p "init-" (prin1-to-string elt)))) features))
   (funcall func))