       (replace-match (format " %s"
                              (downcase (match-string 0)))
                      t nil))))
-  (global-set-key (kbd "C-c l") 'ar/split-camel-region)
+(global-set-key (kbd "C-c l") 'ar/split-camel-region)
 
 ;; M-. elisp navigation.
 (use-package elisp-slime-nav


(defun ar/markdown-mode-hook-function ()
  "Called when entering `markdown-mode'."
  (setq markdown-indent-on-enter nil)
  (define-key markdown-mode-map (kbd "RET") 'electric-newline-and-maybe-indent))

(ar/add-functions-to-mode-hooks '(ar/prog-mode-hook-function)
                                '(prog-mode-hook))

(eval-after-load "projectile"
  '(progn (setq magit-repo-dirs (mapcar (lambda (dir)
                                          (substring dir 0 -1))
                                        ;; Disables "required at runtime" warning for cl package.
                                        (with-no-warnings
                                          (remove-if-not (lambda (project)
                                                           (file-directory-p (concat project "/.git/")))
                                                         (projectile-relevant-known-projects))))
                magit-repo-dirs-depth 1)))

;; Select help window by default.
