 
 ;; Do not auto indent current line when pressing <RET>.
 (add-hook 'sgml-mode-hook
-          (lambda() (local-set-key (kbd "<RET>") 'electric-indent-just-newline)))
+          (lambda() (local-set-key (kbd "<RET>") #'electric-indent-just-newline)))
 
 (use-package multiple-cursors :ensure t)
 (multiple-cursors-mode)
-(global-set-key (kbd "C-c n") 'mc/mark-next-like-this)
-(global-set-key (kbd "C-c a") 'mc/mark-all-like-this)
-
-(defun prelude-smart-open-line (arg)
+(global-set-key (kbd "C-c n") #'mc/mark-next-like-this)
+(global-set-key (kbd "C-c a") #'mc/mark-all-like-this)
+
+(defun ar/smart-open-line (arg)
   "Insert an empty line after the current line.
 Position the cursor at its beginning, according to the current mode.
 With a prefix ARG open line above the current line."
   (interactive "P")
   (if arg
-      (prelude-smart-open-line-above)
+      (ar/smart-open-line-above)
     (progn
       (move-end-of-line nil)
       (newline-and-indent))))
 
-(global-set-key (kbd "C-o") 'prelude-smart-open-line)
+(global-set-key (kbd "C-o") #'ar/smart-open-line)
 
 (use-package ace-jump-mode :ensure t)
 

 helm-M-x-requires-pattern 0     ; show all candidates when set to 0
 helm-boring-file-regexp-list
 '("\\.git$" "\\.hg$" "\\.svn$" "\\.CVS$" "\\._darcs$" "\\.la$" "\\.o$" "\\.i$") ; do not show these files in helm buffer
 helm-ff-file-name-history-use-recentf t
 helm-move-to-line-cycle-in-source t ; move to end or beginning of source
 ido-use-virtual-buffers t

(defun ar/markdown-mode-hook-function ()
  "Called when entering `markdown-mode'."
  (set (make-local-variable 'markdown-indent-on-enter) nil)
  (local-set-key (kbd "RET") #'electric-newline-and-maybe-indent))

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