summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>2006-06-16 15:19:06 +0000
committerRichard M. Stallman <rms@gnu.org>2006-06-16 15:19:06 +0000
commit11bfb6938ac99f4c2286432b9b187993347e4130 (patch)
tree6917eac90e184ab4504f61022af6a351918bddd2
parent76f008da70bce146ca1827bd68f9339f5d1b3004 (diff)
downloademacs-11bfb6938ac99f4c2286432b9b187993347e4130.tar.gz
(Character Type): Clarify prev. change.
(Non-ASCII in Strings): Mention \u and \U.
-rw-r--r--lispref/objects.texi9
1 files changed, 6 insertions, 3 deletions
diff --git a/lispref/objects.texi b/lispref/objects.texi
index 688fd0be398..b721809d18b 100644
--- a/lispref/objects.texi
+++ b/lispref/objects.texi
@@ -440,9 +440,9 @@ different syntax for specifying characters with code points above
Unicode code point is @samp{U+@var{nnnnnn}}, if such a character
is supported by Emacs.
- Unlike in some other programming languages, in Emacs Lisp this
-syntax is available for character literals, and (see later) in
-strings, but not elsewhere.
+ This peculiar and inconvenient syntax was adopted for compatibility
+with other programming languages. Unlike some other languages, Emacs
+Lisp supports this syntax in only character literals and strings.
@cindex @samp{\} in character constant
@cindex backslash in character constant
@@ -1013,6 +1013,9 @@ this produces a unibyte string. However, using any hex escape in a
string (even for an @acronym{ASCII} character) forces the string to be
multibyte.
+ You can also specify characters in a string by their numeric values
+in Unicode, using @samp{\u} and @samp{\U} (@pxref{Character Type}).
+
@xref{Text Representations}, for more information about the two
text representations.