[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
feature/rcirc-update 7e5360f: Fix argument parser for rcirc-define-comma
From: |
Philip Kaludercic |
Subject: |
feature/rcirc-update 7e5360f: Fix argument parser for rcirc-define-command with string input |
Date: |
Tue, 15 Jun 2021 17:12:10 -0400 (EDT) |
branch: feature/rcirc-update
commit 7e5360f32203ad7536dafd000938abd621bd0a2e
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Fix argument parser for rcirc-define-command with string input
* rcirc.el (rcirc-define-command): Require at least one space between
arguments
---
lisp/net/rcirc.el | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el
index dfa80bb..4d98d65 100644
--- a/lisp/net/rcirc.el
+++ b/lisp/net/rcirc.el
@@ -2403,8 +2403,8 @@ that, an interactive form can specified."
(insert "\\`")
(when arguments
(dotimes (_ (1- (length arguments)))
- (insert "\\(?:\\(.+?\\)[[:space:]]*"))
- (insert "\\(.*\\)")
+ (insert "\\(?:\\(.+?\\)"))
+ (insert "\\(?:[[:space:]]+\\(.*\\)\\)")
(dotimes (i (1- (length arguments)))
(when (< i optional)
(insert "?"))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- feature/rcirc-update 7e5360f: Fix argument parser for rcirc-define-command with string input,
Philip Kaludercic <=