   (load-theme THEME t)
   (setq t/theme--loaded THEME)
   ;; recompile spaceline if present
-  (when (featurep 'spaceline)
+  (when (require 'spaceline nil t)
     (spaceline-compile)))
 
 (defun t/cycle-themes ()

      '(("\\`\\*[hH]elm.*?\\*\\'"
         (display-buffer-at-bottom)
         (window-height . .35))
        ("^\\*vterm.*\\*$"
         (display-buffer-reuse-window display-buffer-in-side-window)
         (side . bottom)
         (slot . -1)
         (window-width . .3)
         (window-height . .3)
         (window-parameters . ((mode-line-format . none))))
        ("(\\*Messages\\*|Output\\*$)"
         (display-buffer-reuse-window display-buffer-in-side-window)
         (side . bottom)
         (slot . 1)
         (height . .3))
        ("\\(^\\*helpful\\|\\*Help\\*\\)"
         (display-buffer-reuse-window display-buffer-pop-up-window display-buffer-in-side-window)
         (slot . 1)
         (window-height . .3))
        ("\\(^magit:\\|\\*info\\*\\|NEWS\\)"
         (display-buffer-reuse-window

        mac-right-command-modifier 'control
        mac-command-modifier 'control
        mac-control-modifier 'super))

;; shortcut access to C-x binds
;; Super bindings are intended for quick, often-used global commands.
