 (defun merlin-error-next ()
   "Jump to next error."
   (interactive)
-  (if (= merlin--dirty-point (point-max))
-      (when (merlin--process-idle)
-        (merlin--error-check-async))
-    (merlin--error-check nil))
+  (merlin--error-check nil)
   (let ((err (merlin--error-next-cycle)))
     (unless (or err merlin-erroneous-buffer) (message "No errors"))
     (when err

(defun merlin-error-prev ()
  "Jump back to previous error."
  (interactive)
  (if (= merlin--dirty-point (point-max))
      (when (merlin--process-idle)
        (merlin--error-check-async))
    (merlin--error-check nil))
  (let ((err (merlin--error-prev-cycle)))
    (unless (or err merlin-erroneous-buffer) (message "No errors"))
    (when err

                                         'merlin-compilation-error-face)))
      overlay))
  errors)

(defun merlin--error-check (view-errors-p)
  "Check for errors.
