summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOsmo Karppinen <osmkarp@gmail.com>2023-11-17 12:31:50 +0200
committerF. Jason Park <jp@neverwas.me>2023-11-18 12:34:56 -0800
commit64174ae148d0d81f232d41ecaaa4de17692cf315 (patch)
tree2dccbaf0209ad59cf9a8d7caf4c0bd824cd77b84
parent80d0ff46127d797c081b54be24e167531ddcec07 (diff)
downloademacs-64174ae1.tar.gz
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
-rw-r--r--lisp/erc/erc.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el
index edcfcf0..2abbbaa 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."