pub fn text_properties_at<'ob>(
position: usize,
object: Gc<ObjectType<'ob>>,
env: &'ob mut Rt<Env<'_>>,
) -> Result<Gc<ObjectType<'ob>>>
Expand description
Return the list of properties of the character at POSITION in OBJECT. If the optional second argument OBJECT is a buffer (or nil, which means the current buffer), POSITION is a buffer position (integer or marker).
If OBJECT is a string, POSITION is a 0-based index into it.
If POSITION is at the end of OBJECT, the value is nil, but note that buffer narrowing does not affect the value. That is, if OBJECT is a buffer or nil, and the buffer is narrowed and POSITION is at the end of the narrowed buffer, the result may be non-nil.
If you want to display the text properties at point in a human-readable form, use the `describe-text-properties’ command.