 (global-set-key (kbd "M-;") 'ar/comment-dwim)
 
 (defun ar/new-file-with-snippet (name extension mode snippet-name &optional interactive-snippet-p)
-  "Create file with NAME, EXTENSION, MODE, SNIPPET-NAME, and optional INTERACTIVE-SNIPPET-P"
+  "Create file with NAME, EXTENSION, MODE, SNIPPET-NAME, and optional INTERACTIVE-SNIPPET-P."
   (find-file (format "%s%s" name extension))
   (funcall mode)
   (insert snippet-name)

;; From http://www.emacswiki.org/emacs/DavidBoon#toc8
(defvar ar/ediff-bwin-config nil "Window configuration before ediff.")
(defcustom ar/ediff-bwin-reg ?b
  "*Register to be set up to hold `ar/ediff-bwin-config'
    configuration.")

(defun ar/ediff-bsh ()
  "Function to be called before any buffers or window setup for
    ediff."
  (remove-hook 'ediff-quit-hook 'ediff-cleanup-mess)
  (window-configuration-to-register ar/ediff-bwin-reg))

(defun ar/ediff-aswh ()
  "setup hook used to remove the `ediff-cleanup-mess' function.  It causes errors."
  (remove-hook 'ediff-quit-hook 'ediff-cleanup-mess))

(defun ar/ediff-qh ()

(global-set-key (kbd "C-c `") 'ar/jump-to-saved-point)

(defun ar/after-prog-mode-text-change (beg end len)
  "Execute for all text modifications in `prog-mode'.
Argument BEG beginning.
Argument END end.
Argument LEN Length."
  ;; Saving point to register enables jumping back to last change at any time.
  (ar/save-point))

(defun ar/objc-mode-hook-function ()
  "Called when entering `objc-mode'."
  (helm-dash-activate-docset "iOS")
  (set (make-local-variable 'company-backends)
       ;; List with multiple back-ends for mutual inclusion.
