Debug Emacs initialization

Since "Briefcase" doesn't exist, `window-manager--switch` fails and so does
`exwm-init-hook`. It'd be nice to catch these errors earlier...
This commit is contained in:
William Carroll 2020-10-04 13:54:57 +01:00
parent 562c82f3f2
commit 6eac1de187

View file

@ -395,7 +395,7 @@ predicate."
;; Startup Applications in `window-manager--named-workspaces'
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(add-hook 'exwm-init-hook (lambda () (window-manager--switch "Briefcase")))
(add-hook 'exwm-init-hook (lambda () (window-manager--switch "Coding")))
(provide 'window-manager)
;;; window-manager.el ends here