diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/net/rcirc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/net/rcirc.el b/lisp/net/rcirc.el index b0374a545cd..bc67562d2d3 100644 --- a/lisp/net/rcirc.el +++ b/lisp/net/rcirc.el | |||
| @@ -2569,13 +2569,13 @@ that, an interactive form can specified." | |||
| 2569 | (when (stringp (car body)) | 2569 | (when (stringp (car body)) |
| 2570 | (setq documentation (pop body))) | 2570 | (setq documentation (pop body))) |
| 2571 | (when (eq (car-safe (car-safe body)) 'interactive) | 2571 | (when (eq (car-safe (car-safe body)) 'interactive) |
| 2572 | (setq interactive-spec (cdr (pop body)))) | 2572 | (setq interactive-spec (cadr (pop body)))) |
| 2573 | `(progn | 2573 | `(progn |
| 2574 | (defun ,fn-name (,argument &optional process target) | 2574 | (defun ,fn-name (,argument &optional process target) |
| 2575 | ,(concat documentation | 2575 | ,(concat documentation |
| 2576 | "\n\nNote: If PROCESS or TARGET are nil, the values given" | 2576 | "\n\nNote: If PROCESS or TARGET are nil, the values given" |
| 2577 | "\nby `rcirc-buffer-process' and `rcirc-target' will be used.") | 2577 | "\nby `rcirc-buffer-process' and `rcirc-target' will be used.") |
| 2578 | (interactive (list ,@interactive-spec)) | 2578 | (interactive ,interactive-spec) |
| 2579 | (unless (if (listp ,argument) | 2579 | (unless (if (listp ,argument) |
| 2580 | (<= ,required (length ,argument) ,total) | 2580 | (<= ,required (length ,argument) ,total) |
| 2581 | (string-match ,regexp ,argument)) | 2581 | (string-match ,regexp ,argument)) |