Commit 95555145 authored by Richard M. Stallman's avatar Richard M. Stallman

(Fget_char_property_and_overlay): Doc fix.

parent e102f0d8
...@@ -690,10 +690,11 @@ overlays are considered only if they are associated with OBJECT. */) ...@@ -690,10 +690,11 @@ overlays are considered only if they are associated with OBJECT. */)
DEFUN ("get-char-property-and-overlay", Fget_char_property_and_overlay, DEFUN ("get-char-property-and-overlay", Fget_char_property_and_overlay,
Sget_char_property_and_overlay, 2, 3, 0, Sget_char_property_and_overlay, 2, 3, 0,
doc: /* Like `get-char-property', but with extra overlay information. doc: /* Like `get-char-property', but with extra overlay information.
Return a cons whose car is the return value of `get-char-property' The value is a cons cell. Its car is the return value of `get-char-property'
with the same arguments, that is, the value of POSITION's property with the same arguments--that is, the value of POSITION's property
PROP in OBJECT, and whose cdr is the overlay in which the property was PROP in OBJECT. Its cdr is the overlay in which the property was
found, or nil, if it was found as a text property or not found at all. found, or nil, if it was found as a text property or not found at all.
OBJECT is optional and defaults to the current buffer. OBJECT may be OBJECT is optional and defaults to the current buffer. OBJECT may be
a string, a buffer or a window. For strings, the cdr of the return a string, a buffer or a window. For strings, the cdr of the return
value is always nil, since strings do not have overlays. If OBJECT is value is always nil, since strings do not have overlays. If OBJECT is
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment