[Emacs] Automatically enable kat mode when user is kat

This commit is contained in:
Kat Huang 2023-08-31 13:32:52 -06:00
parent b9cb1dbfaa
commit b7dbcc0d29

View File

@ -70,7 +70,8 @@
(org-babel-load-file (org-babel-load-file
(concat (file-name-directory load-file-name) "README.org"))) (concat (file-name-directory load-file-name) "README.org")))
(when imalison:kat-mode (when (or (equal (s-trim (shell-command-to-string "whoami")) "kat")
imalison:kat-mode)
(let ((debug-on-error t)) (let ((debug-on-error t))
(org-babel-load-file (org-babel-load-file
(concat (file-name-directory load-file-name) "kat-mode.org")))) (concat (file-name-directory load-file-name) "kat-mode.org"))))