 (menu-bar-mode -1)
 
 ;; Break lines after 78 chars
-(setq-default auto-fill-mode nil)
+(setq-default auto-fill-function 'do-auto-fill)
 (set-fill-column 78)
 
 ;; Visual line wrapping

(global-set-key "\C-cb" 'org-iswitchb)
(setq org-log-done t)

(setq org-capture-templates
      '(("t" "Todo" entry (file+headline "~/Dropbox/org/todo.org" "Tasks")
         "* TODO %?\n%i\nAdded on %U")
        ("l" "Todo with link" entry (file+headline "~/Dropbox/org/todo.org" "Tasks")
         "* TODO %?\n%i\n%a\nAdded on %U")
        ("j" "Journal" entry (file+datetree "~/Dropbox/org/journal.org")
         "* %?\n%i\nEntered on %U")))
(find-file "~/Dropbox/org/todo.org")

;; Require flycheck
;;(require-package 'flycheck)
;;(add-hook 'after-init-hood #'global-flycheck-mode)

;; Lisp settings
(setq lisp-body-indent 4)

;; Coffeescript settings
(require-package 'coffee-mode)
(custom-set-variables '(coffee-tab-width 4))
        (package-install package)
      (progn
        (package-refresh-contents)
        (dcn/require-package package min-version t)))))

(package-initialize)

;; Load solarized theme
(dcn/require-package 'color-theme-solarized)
(load-theme 'solarized-dark t)

;; Remove splash screen
