From: F. Jason Park Date: Fri, 12 Jul 2024 21:41:54 +0000 (-0700) Subject: Fix invalid defcustom type for erc-buffers option X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d6c3dde9fa80e7261824143b82f0d57985e78a8a;p=emacs.git Fix invalid defcustom type for erc-buffers option * 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) --- 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.