From 849cff06bc37bf4d7e80a293cd2ac0d83386b34b Mon Sep 17 00:00:00 2001 From: Chris Bouchard Date: Mon, 23 Sep 2024 20:28:07 -0400 Subject: [PATCH] Remove the per-interface pcase forms The consensus in #4430 is that we're ok with making this breaking change and communicating it in the CHANGELOG. I've replaced all uses in lsp-mode itself. --- lsp-protocol.el | 8 -------- 1 file changed, 8 deletions(-) diff --git a/lsp-protocol.el b/lsp-protocol.el index 64d46e7cc6..f3b8b6cd82 100644 --- a/lsp-protocol.el +++ b/lsp-protocol.el @@ -225,14 +225,6 @@ Allowed params: %s" interface (reverse (-map #'cl-first params))) output-bindings) (setf current-list (cddr current-list)))))) output-bindings)))) - ;; These per-interface `pcase' forms are deprecated. Prefer - ;; the new (lsp-interface INTERFACE ...) form defined below. - ;; (See emacs-lsp/lsp-mode#4430.) - ;; - ;; TODO: Remove this `pcase-defmacro' in the next major - ;; version. - `(pcase-defmacro ,interface (&rest property-bindings) - `(lsp-interface ,',interface ,@property-bindings)) (-mapcat (-lambda ((label . name)) (list `(defun ,(intern (format "lsp:%s-%s"