File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -246,9 +246,8 @@ For indirect buffers return the truename of the base buffer."
246246
247247(defun fsharp-ac/load-file (file )
248248 " Start the compiler binding for an individual F# script FILE."
249- (when (and (fsharp-ac--script-file-p file) (file-exists-p file))
250- (unless (fsharp-ac--process-live-p (fsharp-ac--hostname file))
251- (fsharp-ac/start-process))
249+ (when (and (fsharp-ac--script-file-p file) (not (fsharp-ac--process-live-p (fsharp-ac--hostname file))))
250+ (fsharp-ac/start-process)
252251 (add-hook 'after-save-hook 'fsharp-ac--load-after-save nil 'local )))
253252
254253(defun fsharp-ac--load-after-save ()
Original file line number Diff line number Diff line change 3434 (set-process-filter (&rest args))
3535 (set-process-query-on-exit-flag (&rest args))
3636 (process-send-string (&rest args))
37+ (fsharp-ac/start-process ())
3738 (fsharp-ac-completion-process (host) nil )
3839 (process-buffer (p) (get-buffer-create " *fsharp-complete*" ))
3940 (process-mark (proc) (point-max ))
You can’t perform that action at this time.
0 commit comments