 (column-number-mode 1)
 
 ;; Autocomplete
-(require-package 'auto-complete)
+(dcn/require-package 'auto-complete)
 (require 'auto-complete)
 (global-auto-complete-mode t)
 (ac-linum-workaround)
-(defun auto-complete-mode-maybe ()
-    "Use AC everywhere but in minibuffer"
-    (unless (minibufferp (current-buffer))
-        (auto-complete-mode 1)))
+(add-to-list 'ac-modes 'python-mode)
+(add-to-list 'ac-modes 'coffee-mode)
+(add-to-list 'ac-modes 'emacs-lisp-mode)
+;; (defun auto-complete-mode-maybe ()
+;;     "Use AC everywhere but in minibuffer"
+;;     (unless (minibufferp (current-buffer))
+;;         (auto-complete-mode 1)))
 
 ;; Org mode setup
 (global-set-key "\C-cl" 'org-store-link)

(add-hook 'before-save-hook 'delete-trailing-whitespace)

;; Delete trailing newline
(defun my-other-delete-trailing-blank-lines ()
    "Deletes all blank lines at the end of the file, even the last one"
    (interactive)
    (save-excursion

                        (progn
                            (delete-char trailnewlines)))))))

(add-hook 'before-save-hook 'dcn/delete-trailing-blank-lines)

;; Line and column numbers
(require 'linum)
