         (progn
           (set-process-filter ac-fsharp-completion-process 'ac-fsharp-filter-output)
           (set-process-query-on-exit-flag ac-fsharp-completion-process nil)
-          (setq ac-fsharp-status 'idle))
+          (setq ac-fsharp-status 'idle)
+          (setq ac-fsharp-partial-data "")
+          (setq ac-fsharp-project-files))
       (setq ac-fsharp-completion-process nil))
 
     (setq ac-fsharp-idle-timer

    (cancel-timer ac-fsharp-idle-timer))
  (setq ac-fsharp-completion-process nil)
  (setq ac-fsharp-project-files nil)
  (ac-fsharp-clear-errors))

;;;###autoload

    nil))

(defun ac-fsharp-can-make-request ()
  (and ac-fsharp-completion-process
       (member (expand-file-name (buffer-file-name)) ac-fsharp-project-files)))

