 
   (add-to-list 'kill-buffer-query-functions #'doom|protect-fallback-buffer nil 'eq)
   (add-hook 'after-change-major-mode-hook #'doom|highlight-non-default-indentation)
-
-  ;; Reload theme if the display device has changed
-  (add-hook 'after-make-frame-functions #'doom|reload-theme-in-frame-maybe)
-  (add-hook 'after-delete-frame-functions #'doom|reload-theme-maybe)
 
   ;; Initialize custom switch-{buffer,window,frame} hooks:
   ;; + `doom-switch-buffer-hook'

;;
;;; Theme & font

(defvar doom-last-window-system
  (if (daemonp) 'daemon initial-window-system)
  "The `window-system' of the last frame. If this doesn't match the current
frame's window-system, the theme will be reloaded.")

(defun doom|init-fonts ()
  "Loads fonts.


    (let ((doom--prefer-theme-elc t))
      (load-theme doom-theme t))))


;;
;;; Bootstrap
