1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

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.