about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-17 16:07:59 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-17 16:07:59 +0100
commit2759121a1e7e78271d434acdaeacd43472a0b84f (patch)
treea8e1e71953174f7465dc5fedd9b706155076e718
parenta020f453ccf0c9fd0b240403087996a50d3f7eff (diff)
downloaddotfiles-2759121a1e7e78271d434acdaeacd43472a0b84f.tar.gz
Fix doc
-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))