From d6c3dde9fa80e7261824143b82f0d57985e78a8a Mon Sep 17 00:00:00 2001 From: "F. Jason Park" Date: Fri, 12 Jul 2024 14:41:54 -0700 Subject: [PATCH] Fix invalid defcustom type for erc-buffers option MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit * lisp/erc/erc.el (erc-ensure-target-buffer-on-privmsg): Change invalid inner `choice' to a `const' for the third-state `status' variant, which is new in ERC 5.6 and Emacs 30. Thanks to Mattias Engdegård for catching this. (cherry picked from commit d77f8a347500da4c1ce7553332a481c5507412fc) --- lisp/erc/erc.el | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index a94a4366cfa..0ac58b09f64 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -6032,8 +6032,7 @@ manner implied above, which was lost sometime before ERC 5.4." :group 'erc-buffers :group 'erc-query :type '(choice boolean - (choice :tag "Create pseudo queries for STATUSMSGs" - status))) + (const :tag "Create pseudo queries for STATUSMSGs" status))) (defcustom erc-format-query-as-channel-p t "If non-nil, format text from others in a query buffer like in a channel. -- 2.39.2