From d77f8a347500da4c1ce7553332a481c5507412fc 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=UTF-8 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. --- 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 7cc7bf56252..fd2a49c2504 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -6033,8 +6033,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.