X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=emacs%2Fnotmuch.el;h=75fe6900f1f9832d151514491d7dde816afc3aa8;hp=5562ad104ff3bef84a2f312aade85b30d46fb00e;hb=e63f37a4a90c5d2a399a99a0566b6e1dfea263aa;hpb=c4541353765dec837c1c2f912b1bf6661827429c diff --git a/emacs/notmuch.el b/emacs/notmuch.el index 5562ad10..75fe6900 100644 --- a/emacs/notmuch.el +++ b/emacs/notmuch.el @@ -432,11 +432,10 @@ returns nil." (defun notmuch-search-foreach-result (beg end fn) "Invoke FN for each result between BEG and END. -FN should take one argument. It will be applied to the -character position of the beginning of each result that overlaps -the region between points BEG and END. As a special case, if (= -BEG END), FN will be applied to the result containing point -BEG." +FN should take one argument. It will be applied to the character +position of the beginning of each result that overlaps the region +between points BEG and END. As a special case, if (= BEG END), +FN will be applied to the result containing point BEG." (let ((pos (notmuch-search-result-beginning beg)) ;; End must be a marker in case fn changes the ;; text.