emacs-diffs
[Top][All Lists]
Advanced

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

master 862dfef88d8: Pacify more docstring control char warnings


From: Robert Pluim
Subject: master 862dfef88d8: Pacify more docstring control char warnings
Date: Thu, 29 Feb 2024 03:32:30 -0500 (EST)

branch: master
commit 862dfef88d8e62d12bac3ca2e44e035a2ff5b298
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    Pacify more docstring control char warnings
    
    * lisp/org/org-macs.el (org-split-string): Escape control chars.
    * lisp/org/ox-latex.el (org-latex-guess-babel-language): And here.
---
 lisp/org/org-macs.el | 2 +-
 lisp/org/ox-latex.el | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lisp/org/org-macs.el b/lisp/org/org-macs.el
index 2332c0c927c..aafbdf0e0aa 100644
--- a/lisp/org/org-macs.el
+++ b/lisp/org/org-macs.el
@@ -982,7 +982,7 @@ Otherwise, return nil."
   "Splits STRING into substrings at SEPARATORS.
 
 SEPARATORS is a regular expression.  When nil, it defaults to
-\"[ \f\t\n\r\v]+\".
+\"[ \\f\\t\\n\\r\\v]+\".
 
 Unlike `split-string', matching SEPARATORS at the beginning and
 end of string are ignored."
diff --git a/lisp/org/ox-latex.el b/lisp/org/ox-latex.el
index b409f552a2b..bca387e5935 100644
--- a/lisp/org/ox-latex.el
+++ b/lisp/org/ox-latex.el
@@ -1632,7 +1632,7 @@ explicitly been loaded.  Then it is added to the rest of
 package's options.
 
 The optional argument to Babel or the mandatory argument to
-`\babelprovide' command may be \"AUTO\" which is then replaced
+`\\babelprovide' command may be \"AUTO\" which is then replaced
 with the language of the document or
 `org-export-default-language' unless language in question is
 already loaded.



reply via email to

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