]> git.eshelyaron.com Git - emacs.git/commitdiff
Pacify more docstring control char warnings
authorRobert Pluim <rpluim@gmail.com>
Thu, 29 Feb 2024 08:29:04 +0000 (09:29 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sat, 2 Mar 2024 06:30:10 +0000 (07:30 +0100)
* lisp/org/org-macs.el (org-split-string): Escape control chars.
* lisp/org/ox-latex.el (org-latex-guess-babel-language): And here.

(cherry picked from commit 862dfef88d8e62d12bac3ca2e44e035a2ff5b298)

lisp/org/org-macs.el
lisp/org/ox-latex.el

index 2332c0c927c3a5bba3e749c36a2358f6ca0b37c6..aafbdf0e0aab6f55b31c4bb8d6c596bffcd5f8bd 100644 (file)
@@ -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."
index b409f552a2b97ad576868860a7910a44572ac02e..bca387e5935691dd8bba55b1c1efeda961e46c82 100644 (file)
@@ -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.