From: Osmo Karppinen Date: Fri, 17 Nov 2023 10:31:50 +0000 (+0200) Subject: Fix command-line parsing for erc-cmd-SQUERY X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=64174ae148d0d81f232d41ecaaa4de17692cf315;p=emacs.git Fix command-line parsing for erc-cmd-SQUERY * lisp/erc/erc.el (erc-cmd-SQUERY): Set symbol property `do-not-parse-args' to t so additional command-line arguments aren't parsed but rather included as part of the function's lone (raw) LINE parameter. (Bug#67209) Copyright-paperwork-exempt: yes --- diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index edcfcf085e6..2abbbaa3578 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el @@ -4591,6 +4591,7 @@ The rest of LINE is the message to send." The rest of LINE is the message to send." (erc-message "SQUERY" line)) +(put 'erc-cmd-SQUERY 'do-not-parse-args t) (defun erc-cmd-NICK (nick) "Change current nickname to NICK."