Better documentation of 'emacs-internal' encoding
authorEli Zaretskii <eliz@gnu.org>
Sat, 15 Jun 2024 12:59:55 +0000 (15:59 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 15 Jun 2024 12:59:55 +0000 (15:59 +0300)
* doc/lispref/nonascii.texi (Coding System Basics): Recommend
'emacs-internal' encoding for caching.

doc/lispref/nonascii.texi

index 9a160ba0730830a56c750c832dcb00872b163219..1c5cc0e20b4cdaf6534014c9a85e485add158ef2 100644 (file)
@@ -1135,7 +1135,10 @@ conversion happens, but different in that the result is multibyte
 data.  The name @code{emacs-internal} is an alias for
 @code{utf-8-emacs-unix} (so it forces no conversion of end-of-line,
 unlike @code{utf-8-emacs}, which can decode all 3 kinds of
-end-of-line conventions).
+end-of-line conventions).  Since this coding system can represent all
+the characters supported by Emacs in its buffers and strings, we
+recommend using it whenever saving text for internal purposes, such as
+caching.
 
 @defun coding-system-get coding-system property
 This function returns the specified property of the coding system