aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorOsmo Karppinen2023-11-17 12:31:50 +0200
committerF. Jason Park2023-11-18 12:34:56 -0800
commit64174ae148d0d81f232d41ecaaa4de17692cf315 (patch)
tree2dccbaf0209ad59cf9a8d7caf4c0bd824cd77b84
parent80d0ff46127d797c081b54be24e167531ddcec07 (diff)
downloademacs-64174ae148d0d81f232d41ecaaa4de17692cf315.tar.gz
emacs-64174ae148d0d81f232d41ecaaa4de17692cf315.zip
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 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."
4591 4591
4592The rest of LINE is the message to send." 4592The rest of LINE is the message to send."
4593 (erc-message "SQUERY" line)) 4593 (erc-message "SQUERY" line))
4594(put 'erc-cmd-SQUERY 'do-not-parse-args t)
4594 4595
4595(defun erc-cmd-NICK (nick) 4596(defun erc-cmd-NICK (nick)
4596 "Change current nickname to NICK." 4597 "Change current nickname to NICK."