diff options
| author | Osmo Karppinen | 2023-11-17 12:31:50 +0200 |
|---|---|---|
| committer | F. Jason Park | 2023-11-18 12:34:56 -0800 |
| commit | 64174ae148d0d81f232d41ecaaa4de17692cf315 (patch) | |
| tree | 2dccbaf0209ad59cf9a8d7caf4c0bd824cd77b84 | |
| parent | 80d0ff46127d797c081b54be24e167531ddcec07 (diff) | |
| download | emacs-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.el | 1 |
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 | ||
| 4592 | The rest of LINE is the message to send." | 4592 | The 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." |