summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Ingebrigtsen <larsi@gnus.org>2019-10-22 16:54:50 +0200
committerLars Ingebrigtsen <larsi@gnus.org>2019-10-22 16:54:50 +0200
commit38021e555961c534c7e386547214ef1eb725dadc (patch)
treea3505cd3eb987f1af13358ece607f89ae9c291c1
parentf9519a9c8649f50ee8f34773d050c4b5346f1efd (diff)
downloademacs-38021e555961c534c7e386547214ef1eb725dadc.tar.gz
Make text-properties-at mention describe-text-properties
* src/textprop.c (Ftext_properties_at): Mention describe-text-properties in the doc string.
-rw-r--r--src/textprop.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/textprop.c b/src/textprop.c
index 93d19754da5..dd2e68891e6 100644
--- a/src/textprop.c
+++ b/src/textprop.c
@@ -561,7 +561,10 @@ DEFUN ("text-properties-at", Ftext_properties_at,
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. */)
+If POSITION is at the end of OBJECT, the value is nil.
+
+If you want to display the text properties at point in a human-readable
+form, the `describe-text-properties' command can be used. */)
(Lisp_Object position, Lisp_Object object)
{
register INTERVAL i;