mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
emacs: shorten/replace first sentence of a few doc-strings
The first sentence should fit on the first line. It is okay if the first sentence/line does not contain all the information that the rest of the doc-string covers.
This commit is contained in:
parent
471f161850
commit
27b448f381
1 changed files with 7 additions and 3 deletions
|
@ -2347,7 +2347,9 @@ the user (see `notmuch-show-stash-mlarchive-link-alist')."
|
||||||
(browse-url (current-kill 0 t)))
|
(browse-url (current-kill 0 t)))
|
||||||
|
|
||||||
(defun notmuch-show-stash-git-helper (addresses prefix)
|
(defun notmuch-show-stash-git-helper (addresses prefix)
|
||||||
"Escape, trim, quote, and add PREFIX to each address in list of ADDRESSES, and return the result as a single string."
|
"Normalize all ADDRESSES while adding PREFIX.
|
||||||
|
Escape, trim, quote and add PREFIX to each address in list
|
||||||
|
of ADDRESSES, and return the result as a single string."
|
||||||
(mapconcat (lambda (x)
|
(mapconcat (lambda (x)
|
||||||
(concat prefix "\""
|
(concat prefix "\""
|
||||||
;; escape double-quotes
|
;; escape double-quotes
|
||||||
|
@ -2360,10 +2362,12 @@ the user (see `notmuch-show-stash-mlarchive-link-alist')."
|
||||||
addresses " "))
|
addresses " "))
|
||||||
|
|
||||||
(put 'notmuch-show-stash-git-send-email 'notmuch-prefix-doc
|
(put 'notmuch-show-stash-git-send-email 'notmuch-prefix-doc
|
||||||
"Copy From/To/Cc of current message to kill-ring in a form suitable for pasting to git send-email command line.")
|
"Copy From/To/Cc of current message to kill-ring.
|
||||||
|
Use a form suitable for pasting to git send-email command line.")
|
||||||
|
|
||||||
(defun notmuch-show-stash-git-send-email (&optional no-in-reply-to)
|
(defun notmuch-show-stash-git-send-email (&optional no-in-reply-to)
|
||||||
"Copy From/To/Cc/Message-Id of current message to kill-ring in a form suitable for pasting to git send-email command line.
|
"Copy From/To/Cc/Message-Id of current message to kill-ring.
|
||||||
|
Use a form suitable for pasting to git send-email command line.
|
||||||
|
|
||||||
If invoked with a prefix argument (or NO-IN-REPLY-TO is non-nil),
|
If invoked with a prefix argument (or NO-IN-REPLY-TO is non-nil),
|
||||||
omit --in-reply-to=<Message-Id>."
|
omit --in-reply-to=<Message-Id>."
|
||||||
|
|
Loading…
Reference in a new issue