Permalink
Browse files

move OSX system-name hack to top of init

  • Loading branch information...
1 parent 898a980 commit 36b4ac8ee78da4911ad8fee6e83b00669761b873 @bostonaholic bostonaholic committed May 3, 2012
Showing with 4 additions and 4 deletions.
  1. +0 −4 .emacs.d/config-osx.el
  2. +4 −0 .emacs.d/init.el
@@ -22,7 +22,3 @@
(global-set-key (kbd "C-.") 'ns-toggle-fullscreen)
;;(setq mac-command-modifier 'meta)
-
-(when (eq system-type 'darwin)
- ;; Work around a bug on OS X where system-name is FQDN
- (setq system-name (car (split-string system-name "\\."))))
View
@@ -1,3 +1,7 @@
+(when (eq system-type 'darwin)
+ ;; Work around a bug on OS X where system-name is FQDN
+ (setq system-name (car (split-string system-name "\\."))))
+
(require 'package)
(add-to-list 'package-archives
'("marmalade" . "http://marmalade-repo.org/packages/"))

0 comments on commit 36b4ac8

Please sign in to comment.