mirror of
https://github.com/doomemacs/doomemacs
synced 2025-08-03 12:27:26 -05:00
Polish narf/reload
This commit is contained in:
24
bootstrap.el
24
bootstrap.el
@ -47,19 +47,19 @@
|
|||||||
(dolist (file paths)
|
(dolist (file paths)
|
||||||
(when (file-directory-p file)
|
(when (file-directory-p file)
|
||||||
(push file result)))
|
(push file result)))
|
||||||
result)))
|
result))
|
||||||
|
|
||||||
(defvar narf--load-path load-path)
|
(defvar narf--load-path load-path)
|
||||||
(defun narf/reload ()
|
(defun narf/reload ()
|
||||||
(interactive)
|
(interactive)
|
||||||
(setq load-path
|
(setq load-path
|
||||||
(progn (require 'cask)
|
(progn (require 'cask)
|
||||||
(cask-initialize)
|
(cask-initialize)
|
||||||
(append (list narf-private-dir)
|
(append (list narf-private-dir)
|
||||||
(--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)
|
||||||
narf--load-path))))
|
narf--load-path)))))
|
||||||
|
|
||||||
(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