Permalink
Browse files

Load hostname specific file if it exists

  • Loading branch information...
1 parent 5788a83 commit fbc95a338c1a456abce7489f31153ab53d27cd00 @randymorris committed Mar 7, 2012
Showing with 5 additions and 0 deletions.
  1. +5 −0 init.el
View
5 init.el
@@ -21,3 +21,8 @@
;; ediff
(setq ediff-split-window-function 'split-window-horizontally
ediff-window-setup-function 'ediff-setup-windows-plain)
+
+;; load hostname.el if it exists (non-version controlled)
+(let ((init (format "%s%s.el" user-emacs-directory system-name)))
+ (when (file-exists-p init)
+ (load init)))

0 comments on commit fbc95a3

Please sign in to comment.