help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: setting text properties for strings (or string variables)?


From: Jesper Harder
Subject: Re: setting text properties for strings (or string variables)?
Date: Wed, 04 Jun 2003 22:35:52 +0200
User-agent: Gnus/5.1003 (Gnus v5.10.3) Emacs/21.3.50 (gnu/linux)

Florian von Savigny <florian265@uboot.com> writes:

> That kindles me to ask if there is no function to set the text
> properties for a (sub)string. The available functions which set text
> properties seem to work only on buffers.


,----[ C-h f propertize RET ]
| propertize is a built-in function.
| (propertize STRING &rest PROPERTIES)
| 
| Return a copy of STRING with text properties added.
| First argument is the string to copy.
| Remaining arguments form a sequence of PROPERTY VALUE pairs for text
| properties to add to the result.
| 
`----


reply via email to

[Prev in Thread] Current Thread [Next in Thread]