unofficial mirror of notmuch@notmuchmail.org
 help / color / mirror / code / Atom feed
From: David Bremner <david@tethera.net>
To: notmuch@notmuchmail.org
Subject: [PATCH 3/4] emacs/address: rewrite docstring for n-a-selection-function
Date: Fri,  6 Oct 2023 20:41:55 -0300	[thread overview]
Message-ID: <20231006234156.2262812-4-david@tethera.net> (raw)
In-Reply-To: <20231006234156.2262812-1-david@tethera.net>

The previous version essentially repeated the source code, and
generated a compiler warning.
---
 emacs/notmuch-address.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/emacs/notmuch-address.el b/emacs/notmuch-address.el
index 1a4cdda2..f756254c 100644
--- a/emacs/notmuch-address.el
+++ b/emacs/notmuch-address.el
@@ -153,8 +153,7 @@ matching `notmuch-address-completion-headers-regexp'."
 ;;; Setup
 
 (defun notmuch-address-selection-function (prompt collection initial-input)
-  "Call (`completing-read'
-      PROMPT COLLECTION nil nil INITIAL-INPUT 'notmuch-address-history)"
+  "Default address selection function: delegate to completing read."
   (completing-read
    prompt collection nil nil initial-input 'notmuch-address-history))
 
-- 
2.40.1

  parent reply	other threads:[~2023-10-06 23:42 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-10-06 23:41 partial cleanup of warnings from byte compilation David Bremner
2023-10-06 23:41 ` [PATCH 1/4] emacs: update quoting in docstrings David Bremner
2023-10-06 23:41 ` [PATCH 2/4] emacs: wrap docstrings David Bremner
2023-10-06 23:41 ` David Bremner [this message]
2023-10-06 23:41 ` [PATCH 4/4] emacs/mua: change name of ignored parameter David Bremner
2023-10-07 13:53 ` partial cleanup of warnings from byte compilation Tomi Ollila
2023-10-07 18:47   ` David Bremner

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://notmuchmail.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20231006234156.2262812-4-david@tethera.net \
    --to=david@tethera.net \
    --cc=notmuch@notmuchmail.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).