Rename doom/clean-cache => doom/reset (+ make reset)
This commit is contained in:
parent
c8e138ff51
commit
27b344b64a
4 changed files with 11 additions and 9 deletions
|
@ -617,10 +617,11 @@ If ONLY-RECOMPILE-P is non-nil, only recompile out-of-date files."
|
|||
;; In case `load-path' has changed (e.g. after an update)
|
||||
(byte-recompile-file (expand-file-name "core.el" doom-core-dir) t))
|
||||
|
||||
(defun doom/clean-cache ()
|
||||
(defun doom/reset ()
|
||||
"Clear the local cache completely (in `doom-cache-dir').
|
||||
|
||||
You must restart Emacs for some components to feel its effects."
|
||||
This resets Emacs to a blank slate. You must restart Emacs for some components
|
||||
to feel its effects."
|
||||
(interactive)
|
||||
(delete-directory doom-cache-dir t)
|
||||
(make-directory doom-cache-dir t))
|
||||
|
|
|
@ -53,10 +53,10 @@ config files that are stable (i.e. it should be unlikely that you need to delete
|
|||
them if something goes wrong).")
|
||||
|
||||
(defvar doom-cache-dir (concat doom-host-dir "/cache/")
|
||||
"Host-namespaced directory for volatile storage. Deleted when
|
||||
`doom/clean-cache' is called. Use this for transient files that are generated on
|
||||
the fly like caches and temporary files. Anything that may need to be cleared if
|
||||
there are problems.")
|
||||
"Host-namespaced directory for volatile storage. Deleted when `doom/reset' is
|
||||
called. Use this for transient files that are generated on the fly like caches
|
||||
and temporary files. Anything that may need to be cleared if there are
|
||||
problems.")
|
||||
|
||||
(defvar doom-packages-dir (concat doom-local-dir "packages/")
|
||||
"Where package.el and quelpa plugins (and their caches) are stored.")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue