]> git.eshelyaron.com Git - emacs.git/commitdiff
(Character Type): Clarify prev. change.
authorRichard M. Stallman <rms@gnu.org>
Fri, 16 Jun 2006 15:19:06 +0000 (15:19 +0000)
committerRichard M. Stallman <rms@gnu.org>
Fri, 16 Jun 2006 15:19:06 +0000 (15:19 +0000)
(Non-ASCII in Strings): Mention \u and \U.

lispref/objects.texi

index 688fd0be3982d9374144630fd918b7fda7184f97..b721809d18b75143be08e526ec90654cee929c59 100644 (file)
@@ -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.