   ;; Saving point to register enables jumping back to last change at any time.
   (ar/save-point))
 
-(defun ar/objc-mode-hook ()
+(defun ar/objc-mode-hook-function ()
   "Called when entering objc-mode"
   (set (make-local-variable 'company-backends)
        ;; List with multiple back-ends for mutual inclusion.

;; M-. elisp navigation.
(use-package elisp-slime-nav
  :ensure elisp-slime-nav)
(dolist (hook '(emacs-lisp-mode-hook ielm-mode-hook))
  (add-hook hook 'turn-on-elisp-slime-nav-mode))

(defun ar/save-point ()
  "Saves point to register 9999."

        ("\\.m$" (".h"))
        ("\\.mm$" (".h"))
        ))
(add-hook 'c-mode-common-hook (lambda()
                                (local-set-key (kbd "C-c o") 'ff-find-other-file)))

(use-package dummy-h-mode
  :ensure dummy-h-mode)
(add-to-list 'auto-mode-alist '("\\.h\\'" . dummy-h-mode))
