Yes, this is a bug, well spotted!

This is the fix:

diff --git a/cmd-source-file.c b/cmd-source-file.c
index db6b4ca..e96af5f 100644
--- a/cmd-source-file.c
+++ b/cmd-source-file.c
@@ -78,7 +78,7 @@ cmd_source_file_exec(struct cmd *self, struct cmdq_item *item)
        free(pattern);
 
        for (i = 0; i < (u_int)g.gl_pathc; i++) {
-               if (load_cfg(g.gl_pathv[i], c, item, quiet) != 0)
+               if (load_cfg(g.gl_pathv[i], c, item, quiet) < 0)
                        retval = CMD_RETURN_ERROR;
        }
        if (cfg_finished) {




On Wed, Apr 19, 2017 at 04:45:48PM +0000, Kaushal Modi wrote:
>    I have this binding:
>    bind A  r source-file ~/.tmux.conf \; display "Finished sourcing
>    ~/.tmux.conf ."
>    Earlier I saw the display happening after "PREFIX+r", but it doesn't any
>    more.
>    If I doA 
>    bind A  R display "Finished sourcing ~/.tmux.conf ."
>    PREFIX+R shows that display.
>    Has the way of sequencing commands changed? The use of \;?
>    On Wed, Apr 19, 2017 at 10:55 AM Nicholas Marriott
>    <[email protected]> wrote:
> 
>      Man page is always up to date, CHANGES file will be updated in the 2.4
>      branch before release (I think tonight maybe).
> 
>      New stuff is basically:
> 
>      - BCE
>      - command-alias[] option
>      - performance improvements
>      - search highlighting in copy mode
>      - copy mode key bindings
>      - mouse double and triple clicks (try it in copy mode)
>      - palette setting
>      - format comparisons (#{==, #{!=)
>      - config file %if and %endif
>      - source-file glob (source "*.conf")
>      - OSC 52 clipboard from inside tmux
>      - mouse "all" mode
>      - named session groups (new -t)
>      - strikethrough, with a new enough terminfo
> 
>      On Wed, Apr 19, 2017 at 02:34:24PM +0000, Kaushal Modi wrote:
>      >A  A  Can you please update the CHANGES file and manpage so that non-C
>      coders
>      >A  A  like me can test out the new stuff?
>      >A  A  Thanks.A
>      >
>      >A  A  On Wed, Apr 19, 2017, 8:36 AM Nicholas Marriott
>      >A  A  <[email protected]> wrote:
>      >
>      >A  A  A  Hi all
>      >
>      >A  A  A  We will release tmux 2.4 soon so if you have any problems,
>      bugs,
>      >A  A  A  concerns to report, now is the time!
>      >
>      >A  A  A  --
>      >A  A  A  You received this message because you are subscribed to the
>      Google
>      >A  A  A  Groups "tmux-users" group.
>      >A  A  A  To unsubscribe from this group and stop receiving emails from
>      it, send
>      >A  A  A  an email to [email protected].
>      >A  A  A  To post to this group, send an email to
>      [email protected].
>      >A  A  A  For more options, visit https://groups.google.com/d/optout.
>      >
>      >A  A  --
>      >
>      >A  A  Kaushal Modi
> 
>    --
> 
>    Kaushal Modi

-- 
You received this message because you are subscribed to the Google Groups 
"tmux-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send an email to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to