   (let ((proc-buff (get-buffer-create "*ycmd-server*")))
     (with-current-buffer proc-buff
       (erase-buffer)
-      
+
       (let* ((options-file (ycmd--create-options-file hmac-secret))
              (server-command (if (listp ycmd-server-command)
                                  ycmd-server-command

This kills any ycmd server already running (under ycmd.el's
control.) The newly started server will have a new HMAC secret."
  (interactive)
  
  (ycmd-close)
  
  (let ((hmac-secret (ycmd--generate-hmac-secret)))
    (ycmd--start-server hmac-secret)
    (setq ycmd--hmac-secret hmac-secret))


This does nothing if no server is running."
  (interactive)

  (unwind-protect
      (when (ycmd-running?)
	(delete-process ycmd--server-process)))

  (ycmd--kill-notification-timer))

(defun ycmd-running? ()
