Mark Walters writes:
> The original function feels a little fragile to me as to what happens if
> predicate or function move point. Eg what happens if function collapses
> the message: where does point go, and so where does
> notmuch-show-goto-message-next go. Is this just my naivete as a lisp
>
Pieter Praet writes:
> * emacs/notmuch-show.el (notmuch-show-mapc):
>
> If provided with optional argument PREDICATE, only call
> FUNCTION if calling PREDICATE returns non-nil.
>
> Also correct original docstring: 's/thread/buffer/'.
> ---
This patch was marked stale, but isn't.
>
Pieter Praet pie...@praet.org writes:
* emacs/notmuch-show.el (notmuch-show-mapc):
If provided with optional argument PREDICATE, only call
FUNCTION if calling PREDICATE returns non-nil.
Also correct original docstring: 's/thread/buffer/'.
---
This patch was marked stale, but isn't.
Mark Walters markwalters1...@gmail.com writes:
The original function feels a little fragile to me as to what happens if
predicate or function move point. Eg what happens if function collapses
the message: where does point go, and so where does
notmuch-show-goto-message-next go. Is this just
On Fri, 24 Feb 2012 23:30:38 +0100, Pieter Praet wrote:
> * emacs/notmuch-show.el (notmuch-show-mapc):
>
> If provided with optional argument PREDICATE, only call
> FUNCTION if calling PREDICATE returns non-nil.
>
> Also correct original docstring: 's/thread/buffer/'.
> ---
>
On Fri, 24 Feb 2012 23:30:38 +0100, Pieter Praet pie...@praet.org wrote:
* emacs/notmuch-show.el (notmuch-show-mapc):
If provided with optional argument PREDICATE, only call
FUNCTION if calling PREDICATE returns non-nil.
Also correct original docstring: 's/thread/buffer/'.
---
* emacs/notmuch-show.el (notmuch-show-mapc):
If provided with optional argument PREDICATE, only call
FUNCTION if calling PREDICATE returns non-nil.
Also correct original docstring: 's/thread/buffer/'.
---
emacs/notmuch-show.el | 14 ++
1 files changed, 10 insertions(+), 4
* emacs/notmuch-show.el (notmuch-show-mapc):
If provided with optional argument PREDICATE, only call
FUNCTION if calling PREDICATE returns non-nil.
Also correct original docstring: 's/thread/buffer/'.
---
emacs/notmuch-show.el | 14 ++
1 files changed, 10 insertions(+), 4