diff options
| -rw-r--r-- | lisp/erc/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/erc/erc.el | 6 |
2 files changed, 7 insertions, 3 deletions
diff --git a/lisp/erc/ChangeLog b/lisp/erc/ChangeLog index 35e9f57bf80..637e6aa5f3b 100644 --- a/lisp/erc/ChangeLog +++ b/lisp/erc/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2008-04-27 Glenn Morris <rgm@gnu.org> | ||
| 2 | |||
| 3 | * erc.el (erc-put-text-properties): Replace use of cl mapcar*. | ||
| 4 | |||
| 1 | 2008-04-14 Michael Olson <mwolson@gnu.org> | 5 | 2008-04-14 Michael Olson <mwolson@gnu.org> |
| 2 | 6 | ||
| 3 | * erc.el (erc-remove-text-properties-region): Disable this command | 7 | * erc.el (erc-remove-text-properties-region): Disable this command |
diff --git a/lisp/erc/erc.el b/lisp/erc/erc.el index 1dae3562707..cadc6fed222 100644 --- a/lisp/erc/erc.el +++ b/lisp/erc/erc.el | |||
| @@ -5043,9 +5043,9 @@ each property to the corresponding value in VALUE-LIST." | |||
| 5043 | (setq value-list (mapcar (lambda (x) | 5043 | (setq value-list (mapcar (lambda (x) |
| 5044 | t) | 5044 | t) |
| 5045 | properties))) | 5045 | properties))) |
| 5046 | (mapcar* (lambda (prop value) | 5046 | (dotimes (i (min (length properties) (length value-list))) |
| 5047 | (erc-put-text-property start end prop value object)) | 5047 | (erc-put-text-property start end (nth i properties) |
| 5048 | properties value-list)) | 5048 | (nth i value-list) object))) |
| 5049 | 5049 | ||
| 5050 | ;;; Input area handling: | 5050 | ;;; Input area handling: |
| 5051 | 5051 | ||