summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/fns.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/fns.c b/src/fns.c
index 8a76dcd1cff..11c552a5f77 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -106,7 +106,10 @@ With argument t, set the random number seed from the current time and pid.")
DEFUN ("length", Flength, Slength, 1, 1, 0,
"Return the length of vector, list or string SEQUENCE.\n\
-A byte-code function object is also allowed.")
+A byte-code function object is also allowed.\n\
+If the string contains multibyte characters, this is not the necessarily\n\
+the number of characters in the string; it is the number of bytes.\n\
+To get the number of characters, use `chars-in-string'")
(sequence)
register Lisp_Object sequence;
{