[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/rcirc-color 2c3dd9fd10 3/6: Revert "* rcirc-color.el (c
From: |
Philip Kaludercic |
Subject: |
[elpa] externals/rcirc-color 2c3dd9fd10 3/6: Revert "* rcirc-color.el (color): Use `rcirc-define-command'" |
Date: |
Fri, 30 Sep 2022 08:37:46 -0400 (EDT) |
branch: externals/rcirc-color
commit 2c3dd9fd10227a46c2ad907ee5ef0f72d5e90039
Author: Philip Kaludercic <philipk@posteo.net>
Commit: Philip Kaludercic <philipk@posteo.net>
Revert "* rcirc-color.el (color): Use `rcirc-define-command'"
This reverts commit c50cfdf02e0ae6527d2c9ca6b42c32e680a1ad86.
We cannot make use of `rcirc-define-command' unless we raise the
minimum version to 28.1. This is not yet reasonable, so the change is
reverted for now.
---
rcirc-color.el | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/rcirc-color.el b/rcirc-color.el
index 9e0ab14c31..49a56dcf20 100644
--- a/rcirc-color.el
+++ b/rcirc-color.el
@@ -121,9 +121,11 @@ This ignores SENDER and RESPONSE."
(when face
(rcirc-add-face (match-beginning 0) (match-end 0) face))))))
-(rcirc-define-command color (nick color)
+(defun-rcirc-command color (args)
"Change one of the nick colors."
- (rcirc-do-color nick color process target))
+ (interactive)
+ (setq args (split-string args))
+ (rcirc-do-color (car args) (cadr args) process target))
(defun rcirc-do-color (nick color process target)
"Implement the /color command.
- [elpa] externals/rcirc-color updated (c50cfdf02e -> e40b6d1ba0), Philip Kaludercic, 2022/09/30
- [elpa] externals/rcirc-color 8bb2d6d630 1/6: rcirc-color: Select a random color on `/color nick', Philip Kaludercic, 2022/09/30
- [elpa] externals/rcirc-color ad61546d52 2/6: * rcirc-color.el (rcirc-color-mode): Add minor mode, Philip Kaludercic, 2022/09/30
- [elpa] externals/rcirc-color 2c3dd9fd10 3/6: Revert "* rcirc-color.el (color): Use `rcirc-define-command'",
Philip Kaludercic <=
- [elpa] externals/rcirc-color e40b6d1ba0 6/6: * rcirc-color.el (rcirc-do-color): Respect color-other-attributes, Philip Kaludercic, 2022/09/30
- [elpa] externals/rcirc-color 6c69994cb8 5/6: * rcirc-color.el (rcirc-do-color): Use a let* to make random choice, Philip Kaludercic, 2022/09/30
- [elpa] externals/rcirc-color a6edf362fa 4/6: Add group information to rcirc-color, Philip Kaludercic, 2022/09/30