From: David Bremner Date: Sun, 22 Aug 2021 03:51:07 +0000 (-0700) Subject: emacs/rstdoc: escape '*' X-Git-Tag: archive/debian/0.33_rc0-1~4 X-Git-Url: https://git.cworth.org/git?p=notmuch;a=commitdiff_plain;h=8c4f38092a8668d9f3290f114fa1be491c7069f6 emacs/rstdoc: escape '*' This is just a regular character in docstrings (as it is fairly often used in lisp identifiers and buffer names) but is the start of emphasis in rst. This change is needed to quell a noisy warning when including notmuch-tree.rsti --- diff --git a/emacs/rstdoc.el b/emacs/rstdoc.el index c7c13015..5b8a9d01 100644 --- a/emacs/rstdoc.el +++ b/emacs/rstdoc.el @@ -71,6 +71,7 @@ ("`" . "\\\\`") ("\001" . "'") ("\002" . "`") + ("[*]" . "\\\\*") ("^[[:space:]]*$" . "|br|") ("^[[:space:]]" . "|indent| ")) "list of (regex . replacement) pairs")