mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-05 12:37:33 -05:00
Wrap load-path bootstrap into function: narf/reload
This commit is contained in:
10
bootstrap.el
10
bootstrap.el
@ -49,12 +49,13 @@
|
|||||||
result)))
|
result)))
|
||||||
|
|
||||||
;; Scan various folders to populate the load-paths
|
;; Scan various folders to populate the load-paths
|
||||||
(setq custom-theme-load-path
|
(defun narf/reload ()
|
||||||
|
(interactive)
|
||||||
|
(setq custom-theme-load-path
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(append (--subdirs (concat narf-private-dir "themes/"))
|
(append (--subdirs (concat narf-private-dir "themes/"))
|
||||||
custom-theme-load-path)))
|
custom-theme-load-path)))
|
||||||
|
(setq load-path
|
||||||
(setq load-path
|
|
||||||
(eval-when-compile
|
(eval-when-compile
|
||||||
(require 'cask)
|
(require 'cask)
|
||||||
(cask-initialize)
|
(cask-initialize)
|
||||||
@ -62,7 +63,8 @@
|
|||||||
(--subdirs narf-core-dir t)
|
(--subdirs narf-core-dir t)
|
||||||
(--subdirs narf-modules-dir t)
|
(--subdirs narf-modules-dir t)
|
||||||
(--subdirs narf-packages-dir)
|
(--subdirs narf-packages-dir)
|
||||||
load-path))))
|
load-path)))))
|
||||||
|
(narf/reload)
|
||||||
|
|
||||||
(defun narf (packages)
|
(defun narf (packages)
|
||||||
"Bootstrap NARF emacs and initialize PACKAGES"
|
"Bootstrap NARF emacs and initialize PACKAGES"
|
||||||
|
Reference in New Issue
Block a user