diff --git a/elisp/ghc-process.el b/elisp/ghc-process.el index 7ecfa34..0519549 100644 --- a/elisp/ghc-process.el +++ b/elisp/ghc-process.el @@ -34,7 +34,7 @@ (if ghc-process-running (error "ghc process already running") (progn - (setq ghc-process-running t) + (when ghc-process-running t) (if hook1 (funcall hook1)) (let* ((cbuf (current-buffer)) (name ghc-process-process-name)