diff options
author | David Bremner <david@tethera.net> | 2021-08-21 20:51:07 -0700 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2021-08-22 07:12:03 -0700 |
commit | 8c4f38092a8668d9f3290f114fa1be491c7069f6 (patch) | |
tree | 7a6487e32d6fa507fa50a267aa8276fe0dc20904 /emacs | |
parent | 731697d671749a13634a2a4b843ce62f2927f64f (diff) |
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
Diffstat (limited to 'emacs')
-rw-r--r-- | emacs/rstdoc.el | 1 |
1 files changed, 1 insertions, 0 deletions
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") |