emacs-diffs
[Top][All Lists]
Advanced

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

master d10c96c: Fix backslash mistakes in doc strings in C code


From: Mattias Engdegård
Subject: master d10c96c: Fix backslash mistakes in doc strings in C code
Date: Sat, 2 Jan 2021 12:12:57 -0500 (EST)

branch: master
commit d10c96c42628c548f60f8004d44d765d0ae82517
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>

    Fix backslash mistakes in doc strings in C code
    
    These were found by an instrumented version of make-docfile.
    
    * src/gnutls.c (Fgnutls_available_p):
    * src/keymap.c (Fkey_description):
    * src/xdisp.c (syms_of_xdisp):
---
 src/gnutls.c | 2 +-
 src/keymap.c | 2 +-
 src/xdisp.c  | 2 +-
 3 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/gnutls.c b/src/gnutls.c
index b995fff..aa245ee 100644
--- a/src/gnutls.c
+++ b/src/gnutls.c
@@ -2766,7 +2766,7 @@ GnuTLS MACs             : the list will contain `macs'.
 GnuTLS digests          : the list will contain `digests'.
 GnuTLS symmetric ciphers: the list will contain `ciphers'.
 GnuTLS AEAD ciphers     : the list will contain `AEAD-ciphers'.
-%DUMBFW                 : the list will contain `ClientHello\ Padding'.
+%DUMBFW                 : the list will contain `ClientHello\\ Padding'.
 Any GnuTLS extension with ID up to 100
                         : the list will contain its name.  */)
   (void)
diff --git a/src/keymap.c b/src/keymap.c
index f9aac6d..1eeea81 100644
--- a/src/keymap.c
+++ b/src/keymap.c
@@ -1968,7 +1968,7 @@ then the value includes only maps for prefixes that start 
with PREFIX.  */)
 DEFUN ("key-description", Fkey_description, Skey_description, 1, 2, 0,
        doc: /* Return a pretty description of key-sequence KEYS.
 Optional arg PREFIX is the sequence of keys leading up to KEYS.
-For example, [?\C-x ?l] is converted into the string \"C-x l\".
+For example, [?\\C-x ?l] is converted into the string \"C-x l\".
 
 For an approximate inverse of this, see `kbd'.  */)
   (Lisp_Object keys, Lisp_Object prefix)
diff --git a/src/xdisp.c b/src/xdisp.c
index 64ec0ab..749893b 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -35581,7 +35581,7 @@ message displayed by its counterpart function specified 
by
 
   DEFVAR_BOOL ("display-raw-bytes-as-hex", display_raw_bytes_as_hex,
     doc: /* Non-nil means display raw bytes in hexadecimal format.
-The default is to use octal format (\200) whereas hexadecimal (\x80)
+The default is to use octal format (\\200) whereas hexadecimal (\\x80)
 may be more familiar to users.  */);
   display_raw_bytes_as_hex = false;
 



reply via email to

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