     (ycmd--start-server hmac-secret)
     (setq ycmd--hmac-secret hmac-secret))
 
-  (ycmd--start-notification-timer)
-
-  (add-hook 'find-file-hook 'ycmd-notify-file-ready-to-parse)
-  (add-hook 'kill-emacs-hook 'ycmd-close))
+  (ycmd--start-notification-timer))
 
 (defun ycmd-close ()
   "Shutdown any running ycmd server.

    (ycmd--log-content "HTTP RESPONSE CONTENT" response)
    response))

(provide 'ycmd)

;;; ycmd.el ends here

;;
;;   (set-variable 'ycmd-extra-conf-whitelist '("~/projects/*"))
;;
;; Now, the first time you open a file for which ycmd can perform
;; completions, a ycmd server will be automatically started.
;;
;; Use 'ycmd-get-completions to get completions at some point in a
;; file. For example:
;;
;;   (ycmd-get-completions)
;;
;; You can use 'ycmd-display-completions to toy around with completion
