diff options
author | Sean Whitton <spwhitton@spwhitton.name> | 2015-02-03 10:36:30 +0900 |
---|---|---|
committer | Sean Whitton <spwhitton@spwhitton.name> | 2015-05-26 12:13:07 +0900 |
commit | 2f4256ebb446409be80bd27e15fdde3a14961a52 (patch) | |
tree | 60eb769cc92b2a56c21f9b336c9ae0c2424ce3f5 | |
parent | 584e2cd30a3a1af9b9ec24a8d99b97abeb3e9454 (diff) | |
download | dotfiles-2f4256ebb446409be80bd27e15fdde3a14961a52.tar.gz |
classroom computer switches to lesson materials on Emacs startup
-rw-r--r-- | .emacs.d/init.el | 5 |
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 |