From: David Bremner Date: Sat, 14 May 2022 11:26:38 +0000 (-0300) Subject: emacs: document/defcustom notmuch-multipart/alternative-discouraged X-Git-Tag: 0.37_rc0~116 X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=fd46fc1977e3b0712c07cc4610edee2d91ec5ee0;hp=fd46fc1977e3b0712c07cc4610edee2d91ec5ee0;p=notmuch emacs: document/defcustom notmuch-multipart/alternative-discouraged This variable is important for people who want to change the default behaviour when displaying multipart/alternative messages. Previously it was undocumented. Add a defcustom to help users and copy some documentation from the wiki. The usual machinery of re-using docstrings is a bit tricky to use here because it mangles the example lisp code, and the link to the info node should not be in e.g. the html page. Add a simple test to make sure the switch from defvar to defcustom did not break something obvious. ---