Added Emacs dashboard
This commit is contained in:
@@ -1,26 +1,6 @@
|
|||||||
(message "Welcome to Emacs")
|
(message "Welcome to Emacs")
|
||||||
(message "Loading user configuration...")
|
(message "Loading user configuration...")
|
||||||
|
(message "Emacs profile: %s" fscotto/emacs-profile)
|
||||||
;;=====================================================================================
|
|
||||||
;; Define loader functions
|
|
||||||
;;=====================================================================================
|
|
||||||
(defconst fscotto/modules-dir
|
|
||||||
(expand-file-name "lisp" user-emacs-directory))
|
|
||||||
|
|
||||||
(defun fscotto/load-module (module)
|
|
||||||
"Load a MODULE from symbol."
|
|
||||||
(let* ((module-name (symbol-name module))
|
|
||||||
(path (expand-file-name
|
|
||||||
(concat (replace-regexp-in-string "/" "/" module-name)
|
|
||||||
".el")
|
|
||||||
fscotto/modules-dir)))
|
|
||||||
(unless (file-exists-p path)
|
|
||||||
(error "Module not found: %s" path))
|
|
||||||
(load path nil 'nomessage)))
|
|
||||||
|
|
||||||
(defun fscotto/load-modules (&rest modules)
|
|
||||||
"Load MODULES."
|
|
||||||
(mapc #'fscotto/load-module modules))
|
|
||||||
|
|
||||||
;;=====================================================================================
|
;;=====================================================================================
|
||||||
;; Load modules
|
;; Load modules
|
||||||
@@ -52,6 +32,7 @@
|
|||||||
'lang/yaml
|
'lang/yaml
|
||||||
|
|
||||||
;; Misc
|
;; Misc
|
||||||
|
'misc/dashboard
|
||||||
'misc/custom-functions
|
'misc/custom-functions
|
||||||
'misc/doom-modeline
|
'misc/doom-modeline
|
||||||
'misc/which-key
|
'misc/which-key
|
||||||
|
|||||||
Reference in New Issue
Block a user