unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
* [PATCH 1/3] emacs/rstdoc: escape '*'
@ 2021-08-22  3:51 David Bremner
  2021-08-22  3:51 ` [PATCH 2/3] doc: read notmuch-tree.rsti for rst_epilog David Bremner
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: David Bremner @ 2021-08-22  3:51 UTC (permalink / raw)
  To: notmuch; +Cc: David Bremner

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.32.0

^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-08-22 14:29 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-08-22  3:51 [PATCH 1/3] emacs/rstdoc: escape '*' David Bremner
2021-08-22  3:51 ` [PATCH 2/3] doc: read notmuch-tree.rsti for rst_epilog David Bremner
2021-08-22  3:51 ` [PATCH 3/3] doc/emacs: use :code: for some missing references David Bremner
2021-08-22  7:19 ` [PATCH 1/3] emacs/rstdoc: escape '*' Tomi Ollila
2021-08-22 14:29 ` David Bremner

Code repositories for project(s) associated with this public inbox

	https://yhetil.org/notmuch.git/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).