emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master 64174ae148d 1/5: Fix command-line parsing for erc-cmd-SQUERY


From: F. Jason Park
Subject: master 64174ae148d 1/5: Fix command-line parsing for erc-cmd-SQUERY
Date: Sat, 18 Nov 2023 15:40:45 -0500 (EST)

branch: master
commit 64174ae148d0d81f232d41ecaaa4de17692cf315
Author: Osmo Karppinen <osmkarp@gmail.com>
Commit: F. Jason Park <jp@neverwas.me>

    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."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]