                          (get-buffer-window buffer t)))
         (t
          (next-error)
+         (when (equal major-mode 'objc-mode)
+          (next-error))
          (message "Compilation exited abnormally: %s" string))))
 
 ;; Automatically hide successful builds window.

  :commands (helm-buffers-list)
  :ensure t)

(use-package enlive :ensure t)

;; Disabling while trying out smartparens.

;; TODO: Can I rely on :after to ensure helm is installed before ar-*?
(use-package helm
  :config
  (use-package helm-imenu)
  ;; Switch major modes and toggle minor modes.
  (use-package helm-source)
  (use-package helm-mode-manager :ensure t)
