]> git.eshelyaron.com Git - emacs.git/commitdiff
Add cross-reference to alternative syntaxes for Unicode
authorRobert Pluim <rpluim@gmail.com>
Fri, 14 Oct 2022 15:12:02 +0000 (17:12 +0200)
committerRobert Pluim <rpluim@gmail.com>
Fri, 14 Oct 2022 15:14:32 +0000 (17:14 +0200)
These alternative syntaxes allow you to specify Unicode codepoints
using only ASCII, which helps avoid decoding issues.

* doc/emacs/custom.texi (Init Non-ASCII): Add cross reference to
"General Escape Syntax" in the Emacs Lisp Reference Manual.

doc/emacs/custom.texi

index 2d63b2a7175df697e28f3a88ceca8e0b364a6e10..2bc1d3820d11002e4775a8f2355d559b270e1599 100644 (file)
@@ -2792,6 +2792,12 @@ strings incorrectly.  You should then avoid adding Emacs Lisp code
 that modifies the coding system in other ways, such as calls to
 @code{set-language-environment}.
 
+  An alternative to using non-@acronym{ASCII} characters directly is
+to use one of the character escape syntaxes described in
+@pxref{General Escape Syntax,,, elisp, The Emacs Lisp Reference
+Manual}, as they allow all Unicode codepoints to be specified using
+only @acronym{ASCII} characters.
+
   To bind non-@acronym{ASCII} keys, you must use a vector (@pxref{Init
 Rebinding}).  The string syntax cannot be used, since the
 non-@acronym{ASCII} characters will be interpreted as meta keys.  For