emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

emacs-29 f8a918c9778: ; * src/coding.c (Fcoding_system_put): Improve doc


From: Eli Zaretskii
Subject: emacs-29 f8a918c9778: ; * src/coding.c (Fcoding_system_put): Improve doc string.
Date: Fri, 7 Jul 2023 03:32:32 -0400 (EDT)

branch: emacs-29
commit f8a918c9778f4335d547076622b138679d76a9d7
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>

    ; * src/coding.c (Fcoding_system_put): Improve doc string.
---
 src/coding.c | 13 ++++++++++++-
 1 file changed, 12 insertions(+), 1 deletion(-)

diff --git a/src/coding.c b/src/coding.c
index 49dcd8634f3..544f98dcdab 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -11447,7 +11447,18 @@ usage: (define-coding-system-internal ...)  */)
 
 DEFUN ("coding-system-put", Fcoding_system_put, Scoding_system_put,
        3, 3, 0,
-       doc: /* Change value in CODING-SYSTEM's property list PROP to VAL.  */)
+       doc: /* Change value of CODING-SYSTEM's property PROP to VAL.
+
+The following properties, if set by this function, override the values
+of the corresponding attributes set by `define-coding-system':
+
+  `:mnemonic', `:default-char', `:ascii-compatible-p'
+  `:decode-translation-table', `:encode-translation-table',
+  `:post-read-conversion', `:pre-write-conversion'
+
+See `define-coding-system' for the description of these properties.
+See `coding-system-get' and `coding-system-plist' for accessing the
+property list of a coding-system.  */)
   (Lisp_Object coding_system, Lisp_Object prop, Lisp_Object val)
 {
   Lisp_Object spec, attrs;



reply via email to

[Prev in Thread] Current Thread [Next in Thread]