From 8c4f38092a8668d9f3290f114fa1be491c7069f6 Mon Sep 17 00:00:00 2001 From: David Bremner Date: Sat, 21 Aug 2021 20:51:07 -0700 Subject: [PATCH] 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 --- emacs/rstdoc.el | 1 + 1 file changed, 1 insertion(+) 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") -- 2.43.0