Fixed some minor bugs.
--- a/hoersten-c-style.el Sun Jun 05 17:40:33 2011 -0500
+++ b/hoersten-c-style.el Sun Jun 05 17:47:30 2011 -0500
@@ -31,7 +31,6 @@
;; c-like language settings (c, c++, java, etc.)
;;(require 'doxymacs)
(setq-default c-default-style "hoersten") ; load c-style
-(c-set-style "hoersten")
(message "Loading Hoersten C style...done")
(provide 'hoersten-c-style)
--- a/init.el Sun Jun 05 17:40:33 2011 -0500
+++ b/init.el Sun Jun 05 17:47:30 2011 -0500
@@ -1,7 +1,6 @@
;; ~/.emacs.d/init.el (~/.emacs)
;; Luke Hoersten <[email protected]>
-
;;;; General ;;;;
(add-to-list 'load-path "~/.emacs.d") ; set default emacs load path
@@ -57,13 +56,7 @@
(scroll-bar-mode -1) ; remove scroll bar
(visual-line-mode t) ; word wrap break on whitespace
(global-hl-line-mode t) ; highlight current line
- (set-frame-font (get-font))
-
- ;; twilight theme
- (require 'color-theme)
- (load "color-theme-twilight")
- (color-theme-twilight)
- ))
+ (set-frame-font (get-font))))
;;; terminal
(global-set-key (kbd "C-c s") 'eshell) ; start shell
@@ -140,6 +133,13 @@
(require 'move-line) ; move line up or down
(require 'rainbow-delimiters) ; multi-colored parens
+;;; twilight theme
+(if window-system
+ (progn
+ (require 'color-theme)
+ (load "color-theme-twilight")
+ (color-theme-twilight)))
+
;;; yasnippets
(add-to-list 'load-path "~/.emacs.d/thirdparty/yasnippet")
(require 'yasnippet)