Fix doc
This commit is contained in:
parent
a020f453cc
commit
2759121a1e
|
@ -54,8 +54,7 @@
|
||||||
|
|
||||||
(defun run-straight-lock-file-function (func)
|
(defun run-straight-lock-file-function (func)
|
||||||
"Safely run straight lockfile-related function `FUNC'.
|
"Safely run straight lockfile-related function `FUNC'.
|
||||||
This will set `features' back the value it had before loading straight, to ensure
|
This will remove all init-* files from `features', so that they are reloaded."
|
||||||
that everything loaded by `require' or `use-package' is re-loaded."
|
|
||||||
(setq features (seq-filter '(lambda (elt) (not (string-prefix-p "init-" (prin1-to-string elt)))) features))
|
(setq features (seq-filter '(lambda (elt) (not (string-prefix-p "init-" (prin1-to-string elt)))) features))
|
||||||
(funcall func))
|
(funcall func))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue