Replaced `put-text-property' with macro `c-put-char-property'.