 (require 'whitespace)
 (setq whitespace-line-column 100)
 (setq whitespace-style '(face lines-tail))
-(add-hook 'prog-mode-hook 'whitespace-mode)
 
 ;; New browser tab.
 (cond
  ((string-equal system-type "darwin") ; Mac OS X
-    (defun new-browser-tab ()
+    (defun ar/new-browser-tab ()
       "Open a new browser tab in the default browser."
       (interactive)
       (shell-command "open http://google.com"))


;; Rename file and buffer.
;; From: https://sites.google.com/site/steveyegge2/my-dot-emacs-file
(defun rename-file-and-buffer (new-name)
  "Renames both current buffer and file it's visiting to NEW-NAME." (interactive "sNew name: ")
  (let ((name (buffer-name))
        (filename (buffer-file-name)))

;; Sort lines (ie. package imports or headers).
(global-set-key (kbd "M-s l") 'sort-lines)

(setq css-indent-offset 2)

;; Thank you Xah Lee.
