about summary refs log tree commit diff stats
path: root/.emacs.d/lisp/init-packages.el
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 /.emacs.d/lisp/init-packages.el
parenta020f453ccf0c9fd0b240403087996a50d3f7eff (diff)
downloaddotfiles-2759121a1e7e78271d434acdaeacd43472a0b84f.tar.gz
Fix doc
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))
 
138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226