X-Git-Url: https://git.shemshak.org/~bandali/configs/blobdiff_plain/c84be134273e6baa0633d194c9524658e221ee7f..8c4704d01f819581a7cdcad2ffebfba996ebd30e:/lisp/bandali-theme.el diff --git a/lisp/bandali-theme.el b/lisp/bandali-theme.el index 7706bcc..13929cb 100644 --- a/lisp/bandali-theme.el +++ b/lisp/bandali-theme.el @@ -24,18 +24,20 @@ ;;; Code: -(require 'refinery-theme) -(load-theme 'refinery t) +(with-eval-after-load 'package + (require 'refinery-theme) + (load-theme 'refinery t)) -(require 'smart-mode-line) -;; thanks, but no thanks; don't make fixed-width fills. -(defun sml/fill-for-buffer-identification nil "") -(setq sml/theme 'respectful) -(sml/setup) -(smart-mode-line-enable) +;; (require 'smart-mode-line) +;; ;; thanks, but no thanks; don't make fixed-width fills. +;; (defun sml/fill-for-buffer-identification nil "") +;; (setq sml/theme 'respectful) +;; (let ((sml/no-confirm-load-theme t)) +;; (sml/setup) +;; (smart-mode-line-enable)) -(require 'minions) -(minions-mode) +;; (require 'minions) +;; (minions-mode) (defvar b/org-mode-font-lock-keywords '(("[ \t]*\\(#\\+\\(BEGIN\\|END\\|begin\\|end\\)_\\(\\S-+\\)\\)[ \t]*\\([^\n:]*\\)" @@ -54,7 +56,8 @@ (mapc #'disable-theme custom-enabled-themes) (load-theme 'refinery t) (when (featurep 'smart-mode-line) - (sml/apply-theme 'bandali)) + (let ((sml/no-confirm-load-theme t)) + (sml/apply-theme 'respectful))) (font-lock-remove-keywords 'org-mode b/org-mode-font-lock-keywords) (when (featurep 'erc-hl-nicks) @@ -68,7 +71,8 @@ (mapc #'disable-theme custom-enabled-themes) (load-theme 'refinery-dark t) (when (featurep 'smart-mode-line) - (sml/apply-theme 'dark)) + (let ((sml/no-confirm-load-theme t)) + (sml/apply-theme 'dark))) (font-lock-add-keywords 'org-mode b/org-mode-font-lock-keywords t) (when (featurep 'erc-hl-nicks)