summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSean Whitton <spwhitton@spwhitton.name>2015-02-03 10:36:30 +0900
committerSean Whitton <spwhitton@spwhitton.name>2015-05-26 12:13:07 +0900
commit2f4256ebb446409be80bd27e15fdde3a14961a52 (patch)
tree60eb769cc92b2a56c21f9b336c9ae0c2424ce3f5
parent584e2cd30a3a1af9b9ec24a8d99b97abeb3e9454 (diff)
downloaddotfiles-2f4256ebb446409be80bd27e15fdde3a14961a52.tar.gz
classroom computer switches to lesson materials on Emacs startup
-rw-r--r--.emacs.d/init.el5
1 files changed, 5 insertions, 0 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el
index 4f794ae3..8a40fea7 100644
--- a/.emacs.d/init.el
+++ b/.emacs.d/init.el
@@ -2120,5 +2120,10 @@ Replaces parent directories with their initial characters."
" ")))
(setq eshell-highlight-prompt nil)
+;;; jump to lesson material on startup
+(add-hook 'emacs-startup-hook (lambda ()
+ (toggle-frame-maximized)
+ (projectile-persp-switch-project "s:/")))
+
(provide 'init)
;;; init.el ends here