* eglot.el (warnings): require it.
(eglot--warn): set warning-minimum-level
(require 'url-util)
(require 'pcase)
(require 'compile) ; for some faces
+(require 'warnings)
(defgroup eglot nil
"Interaction with Language Server Protocol servers"
(defun eglot--warn (format &rest args)
"Warning message with FORMAT and ARGS."
- (display-warning 'eglot
- (apply #'format format args)
- :warning))
+ (let ((warning-minimum-level :error))
+ (display-warning 'eglot
+ (apply #'format format args)
+ :warning)))
\f