projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80d0ff4
)
Fix command-line parsing for erc-cmd-SQUERY
author
Osmo Karppinen
<osmkarp@gmail.com>
Fri, 17 Nov 2023 10:31:50 +0000
(12:31 +0200)
committer
F. Jason Park
<jp@neverwas.me>
Sat, 18 Nov 2023 20:34:56 +0000
(12:34 -0800)
* 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
patch
|
blob
|
history
diff --git
a/lisp/erc/erc.el
b/lisp/erc/erc.el
index edcfcf085e61e0a7159b41804036377a6b5f6018..2abbbaa3578a9a2abab8ee01996cce54a8c90e40 100644
(file)
--- 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."