From 2759121a1e7e78271d434acdaeacd43472a0b84f Mon Sep 17 00:00:00 2001 From: David Morgan Date: Mon, 17 Oct 2022 16:07:59 +0100 Subject: [PATCH] Fix doc --- .emacs.d/lisp/init-packages.el | 3 +-- 1 file changed, 1 insertion(+), 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))