     (set (make-local-variable 'merlin-enclosing-overlay) nil)
     (set (make-local-variable 'merlin-enclosing-types) nil)
     (set (make-local-variable 'merlin-enclosing-offset) nil)
+    (set (make-local-variable 'merlin-last-point-type) nil)
     (setq ac-sources '(merlin-ac-source))
     (add-to-list 'after-change-functions 'merlin-edit)
     (set-process-query-on-exit-flag (merlin-get-process) nil)

            (process-send-eof (merlin-get-process))
            (delete-process (merlin-get-process))))
      (cancel-timer merlin-idle-timer)
      (if merlin-overlay delete-overlay merlin-overlay)
      (if merlin-enclosing-overlay merlin-enclosing-overlay)
      (merlin-delete-error-overlays)
      (if (get-buffer (merlin-make-buffer-name))
          (kill-buffer (merlin-make-buffer-name)))

  "List containing the enclosing type")
(defvar merlin-enclosing-offset nil
  "Current offset in `merlin-enclosing-types'")
(defvar merlin-last-point-type nil
  "Last position where the user hit C-c C-t")

(defvar merlin-idle-point nil
  "Position of the last time we printed the type of point")
