aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Pluim2022-10-14 17:12:02 +0200
committerRobert Pluim2022-10-14 17:14:32 +0200
commitb7d7c2d9e98ffd3c01e2276d8aaaaf9bcc6f2d1c (patch)
tree5bdf3b3301a3447e9cda91a9f2146690bae693d4
parent85e47d9a9e809b7278fa6dc282ecb4a7a8f54690 (diff)
downloademacs-b7d7c2d9e98ffd3c01e2276d8aaaaf9bcc6f2d1c.tar.gz
emacs-b7d7c2d9e98ffd3c01e2276d8aaaaf9bcc6f2d1c.zip
Add cross-reference to alternative syntaxes for Unicode
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.
-rw-r--r--doc/emacs/custom.texi6
1 files changed, 6 insertions, 0 deletions
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi
index 2d63b2a7175..2bc1d3820d1 100644
--- a/doc/emacs/custom.texi
+++ b/doc/emacs/custom.texi
@@ -2792,6 +2792,12 @@ strings incorrectly. You should then avoid adding Emacs Lisp code
2792that modifies the coding system in other ways, such as calls to 2792that modifies the coding system in other ways, such as calls to
2793@code{set-language-environment}. 2793@code{set-language-environment}.
2794 2794
2795 An alternative to using non-@acronym{ASCII} characters directly is
2796to use one of the character escape syntaxes described in
2797@pxref{General Escape Syntax,,, elisp, The Emacs Lisp Reference
2798Manual}, as they allow all Unicode codepoints to be specified using
2799only @acronym{ASCII} characters.
2800
2795 To bind non-@acronym{ASCII} keys, you must use a vector (@pxref{Init 2801 To bind non-@acronym{ASCII} keys, you must use a vector (@pxref{Init
2796Rebinding}). The string syntax cannot be used, since the 2802Rebinding}). The string syntax cannot be used, since the
2797non-@acronym{ASCII} characters will be interpreted as meta keys. For 2803non-@acronym{ASCII} characters will be interpreted as meta keys. For