Mercurial > emacs
changeset 94411:4d4cd9f2e77e
(erc-put-text-properties): Replace use of cl mapcar*.
author | Glenn Morris <rgm@gnu.org> |
---|---|
date | Sun, 27 Apr 2008 18:23:37 +0000 |
parents | 850fe8049c1a |
children | 9a6745d6e1e6 |
files | lisp/erc/erc.el |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/lisp/erc/erc.el Sun Apr 27 18:19:53 2008 +0000 +++ b/lisp/erc/erc.el Sun Apr 27 18:23:37 2008 +0000 @@ -5043,9 +5043,9 @@ (setq value-list (mapcar (lambda (x) t) properties))) - (mapcar* (lambda (prop value) - (erc-put-text-property start end prop value object)) - properties value-list)) + (dotimes (i (min (length properties) (length value-list))) + (erc-put-text-property start end (nth i properties) + (nth i value-list) object))) ;;; Input area handling: