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.
This commit is contained in:
F. Jason Park 2024-07-12 14:41:54 -07:00
parent d68a4ea3ec
commit d77f8a3475

View file

@ -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.