contrib: pick: bugfix when trying to show a non-message
authorMark Walters <markwalters1009@gmail.com>
Sat, 10 Nov 2012 17:02:18 +0000 (17:02 +0000)
committerDavid Bremner <bremner@debian.org>
Fri, 16 Nov 2012 19:37:10 +0000 (15:37 -0400)
commit96d9f54615b404011c11fecdea6135fe684c7235
tree53ec330aacc0b8fac06790197bfae166d03f8c7d
parentff9fd62ab6670eb67864bfadd98b7df807fe0334
contrib: pick: bugfix when trying to show a non-message

If the user pressed return on the end result status line it gave a
blank message. Modify the function notmuch-pick-get-message-id to
return nil rather than an empty message-id in this case to fix this.

This also fixes a bug in the (lack of) quoting of the id string.
contrib/notmuch-pick/notmuch-pick.el