Commit 3323c263 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

Clarify documentation of multibyte-string-p.

 src/data.c (Fmultibyte_string_p): Doc fix.

 doc/lispref/nonascii.texi (Text Representations): Document that
 multibyte-string-p returns nil for non-string objects.
parent 406af475
2013-07-06 Eli Zaretskii <eliz@gnu.org>
* nonascii.texi (Text Representations): Document that
multibyte-string-p returns nil for non-string objects.
2013-07-06 Glenn Morris <rgm@gnu.org>
* elisp.texi (Top): Move WWW_GNU_ORG section outside @copying.
......
......@@ -124,7 +124,8 @@ belong to the same character.
@defun multibyte-string-p string
Return @code{t} if @var{string} is a multibyte string, @code{nil}
otherwise.
otherwise. This function also returns @code{nil} if @var{string} is
some object other than a string.
@end defun
@defun string-bytes string
......
2013-07-06 Eli Zaretskii <eliz@gnu.org>
* data.c (Fmultibyte_string_p): Doc fix.
2013-07-05 Paul Eggert <eggert@cs.ucla.edu>
Use emacs_open more consistently when opening files.
......
......@@ -377,7 +377,8 @@ DEFUN ("stringp", Fstringp, Sstringp, 1, 1, 0,
DEFUN ("multibyte-string-p", Fmultibyte_string_p, Smultibyte_string_p,
1, 1, 0,
doc: /* Return t if OBJECT is a multibyte string. */)
doc: /* Return t if OBJECT is a multibyte string.
Return nil if OBJECT is either a unibyte string, or not a string. */)
(Lisp_Object object)
{
if (STRINGP (object) && STRING_MULTIBYTE (object))
......
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