]> git.notmuchmail.org Git - notmuch/commitdiff
emacs/rstdoc: escape '*'
authorDavid Bremner <david@tethera.net>
Sun, 22 Aug 2021 03:51:07 +0000 (20:51 -0700)
committerDavid Bremner <david@tethera.net>
Sun, 22 Aug 2021 14:12:03 +0000 (07:12 -0700)
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

index c7c130154a582841b084343f38787431e0bbe77a..5b8a9d01311b4d3055bec7af4d6f45832d661f51 100644 (file)
@@ -71,6 +71,7 @@
      ("`" . "\\\\`")
      ("\001" . "'")
      ("\002" . "`")
+     ("[*]" . "\\\\*")
      ("^[[:space:]]*$" . "|br|")
      ("^[[:space:]]" . "|indent| "))
     "list of (regex . replacement) pairs")