From 64174ae148d0d81f232d41ecaaa4de17692cf315 Mon Sep 17 00:00:00 2001 From: Osmo Karppinen Date: Fri, 17 Nov 2023 12:31:50 +0200 Subject: [PATCH] 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 --- lisp/erc/erc.el | 1 + 1 file changed, 1 insertion(+) 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." -- 2.39.2