core: Add recompile-elpa function
This is easier than "nuking elpa" when changing versions of Emacs since we don't need to fetch the packages again, only recompile them.
This commit is contained in:
parent
46f36dc74d
commit
1c61e35e93
|
@ -257,5 +257,11 @@ result, incrementing passed-tests and total-tests."
|
|||
(concat "Hidden Mode Line Mode enabled. "
|
||||
"Use M-x hidden-mode-line-mode to make the mode-line appear."))))
|
||||
|
||||
(defun spacemacs/recompile-elpa ()
|
||||
"Recompile packages in elpa directory. Useful if you switch
|
||||
Emacs versions."
|
||||
(interactive)
|
||||
(byte-recompile-directory package-user-dir nil t))
|
||||
|
||||
(provide 'core-funcs)
|
||||
|
||||
|
|
Loading…
Reference in New Issue