aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEli Zaretskii2024-06-15 15:59:55 +0300
committerEli Zaretskii2024-06-15 15:59:55 +0300
commit2cbea4f35cbfb25f53f23ebba81ffe89ce77b136 (patch)
tree133a4e2b98c6d19a47cf0afcfffe0f23b3cb491d
parentd802e56182042e32a56ef8515f9ef01c0633be1e (diff)
downloademacs-2cbea4f35cbfb25f53f23ebba81ffe89ce77b136.tar.gz
emacs-2cbea4f35cbfb25f53f23ebba81ffe89ce77b136.zip
Better documentation of 'emacs-internal' encoding
* doc/lispref/nonascii.texi (Coding System Basics): Recommend 'emacs-internal' encoding for caching.
-rw-r--r--doc/lispref/nonascii.texi5
1 files changed, 4 insertions, 1 deletions
diff --git a/doc/lispref/nonascii.texi b/doc/lispref/nonascii.texi
index 9a160ba0730..1c5cc0e20b4 100644
--- a/doc/lispref/nonascii.texi
+++ b/doc/lispref/nonascii.texi
@@ -1135,7 +1135,10 @@ conversion happens, but different in that the result is multibyte
1135data. The name @code{emacs-internal} is an alias for 1135data. The name @code{emacs-internal} is an alias for
1136@code{utf-8-emacs-unix} (so it forces no conversion of end-of-line, 1136@code{utf-8-emacs-unix} (so it forces no conversion of end-of-line,
1137unlike @code{utf-8-emacs}, which can decode all 3 kinds of 1137unlike @code{utf-8-emacs}, which can decode all 3 kinds of
1138end-of-line conventions). 1138end-of-line conventions). Since this coding system can represent all
1139the characters supported by Emacs in its buffers and strings, we
1140recommend using it whenever saving text for internal purposes, such as
1141caching.
1139 1142
1140@defun coding-system-get coding-system property 1143@defun coding-system-get coding-system property
1141This function returns the specified property of the coding system 1144This function returns the specified property of the coding system