color-theme removed as dependency
This commit is contained in:
parent
232ba818de
commit
c98d022cb1
|
@ -2,8 +2,6 @@
|
|||
(require 'fg42/extension)
|
||||
|
||||
;; Dependencies ----------------------------------
|
||||
(depends-on 'color-theme)
|
||||
|
||||
(defun extensions/editor-theme-initialize ()
|
||||
"Initialize 'editor-theme' extension."
|
||||
(message "Initializing 'editor-theme' extension.")
|
||||
|
|
|
@ -16,13 +16,10 @@ local should be 't' if theme is on FG42 it self"
|
|||
;; Functions ------------------------------
|
||||
(defun load-default-theme ()
|
||||
"Load the given theme name"
|
||||
(make-directory (file-name-as-directory (expand-file-name "themes" (file-name-directory (locate-library "color-theme")))) t)
|
||||
(require default-theme)
|
||||
(eval-after-load "color-theme"
|
||||
'(progn
|
||||
(color-theme-initialize)
|
||||
(funcall (symbol-function default-theme))))
|
||||
(require 'color-theme))
|
||||
;;(load-theme default-theme)
|
||||
;;(enable-theme default-theme))
|
||||
(funcall (symbol-function default-theme)))
|
||||
|
||||
(defun load--extension (extension)
|
||||
"Load a single extension and call its :on-initialize function"
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
doom-themes-enable-italic t) ; if nil, italics is universally disabled
|
||||
|
||||
(load-theme 'doom-one t)
|
||||
|
||||
(enable-theme 'doom-one)
|
||||
;; brighten buffers (that represent real files)
|
||||
(add-hook 'after-change-major-mode-hook #'turn-on-solaire-mode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue