 
 (defvar-local merlin--dirty-point 0
   "Position after which buffer content may differ.")
-
-(defvar-local merlin--loaded-once nil
-  "Set to nil if buffer has not been loaded at least once in merlin.")
 
 ;; Errors related variables
 (defvar-local merlin-erroneous-buffer nil

  (let* ((conf (merlin--grouping-function))
         (instance (lookup-default 'name conf "default")))
    (setq merlin-instance instance)
    ; if there is not yet a merlin process
    (when (merlin-process-dead-p instance)
      (merlin-start-process merlin-default-flags conf))
    (add-to-list 'after-change-functions 'merlin--sync-edit)
    (add-hook 'after-save-hook 'merlin--after-save nil 'local)
    (merlin--idle-timer)
    (merlin--acquire-buffer)))

(defun merlin-can-handle-buffer ()
  "Simple sanity check (used to avoid running merlin on, e.g., completion buffer)."

                           (list 'reset 'dot_merlin dot-merlins 'auto name)
                           (list 'reset 'auto name)))
    (merlin-error-reset)
    (setq merlin--dirty-point (point-min))))

(defun merlin--check-project-file ()
  "Check if .merlin file loaded successfully."
