                btype
                (concat kind ": " text)))))))))
 
-(defun ycmd--display-error (msg)
-  "Display error message with MSG."
-  (message "ERROR: %s" msg))
-
 (defun ycmd-decorate-with-parse-results (results)
   "Decorates a buffer using the RESULTS of a file-ready parse list.
 

        (lambda (result)
          (when result
            (if (assoc-default 'exception result)
                (ycmd--handle-exception
                 result exception-handler)
              (when success-handler
                (funcall success-handler result)))))))))


     (-when-let (documentation (assoc-default 'detailed_info result))
       (with-help-window (get-buffer-create " *ycmd-documentation*")
         (with-current-buffer standard-output
           (insert documentation)))))))

(define-button-type 'ycmd--error-button
  'face '(error bold underline)
