 (defvar merlin-continuous-feed nil
   "If set to t, each time you hit RET, the line is fed to merlin")
 
+(defvar merlin-pending-errors nil
+  "Pending errors")
+(defvar merlin-pending-errors-overlay nil
+  "Overlays for the pending errors")
 (defvar merlin-completion-point nil
   "Stores the point of last completion (beginning of the prefix)")
 (defvar merlin-idle-point nil



;; ERRORS
(defun merlin-remove-error-overlay ()
  "Remove the error overlay"
  (delete-overlay merlin-error-overlay))

    (set (make-local-variable 'merlin-idle-point) nil)
    (set (make-local-variable 'merlin-completion-point) nil)
    (set (make-local-variable 'merlin-ready) nil)
    (set (make-local-variable 'merlin-pending-errors) nil)
    (set (make-local-variable 'merlin-pending-errors-overlay) nil)
    (set (make-local-variable 'merlin-overlay) nil)
    (set (make-local-variable 'merlin-prefix) nil)
    (set (make-local-variable 'merlin-error-prefix) nil)
