mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 10:30:25 -08:00
Fix argument parser for rcirc-define-command with string input
* rcirc.el (rcirc-define-command): Require at least one space between arguments
This commit is contained in:
parent
1181c606b3
commit
7e5360f322
1 changed files with 2 additions and 2 deletions
|
|
@ -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 "?"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue