Rename doom/clean-cache => doom/reset (+ make reset)

This commit is contained in:
Henrik Lissner 2017-07-09 22:50:29 +02:00
parent c8e138ff51
commit 27b344b64a
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 11 additions and 9 deletions

View file

@ -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))