[PATCH] contrib: pick: remove unnecessary funcall
authorMark Walters <markwalters1009@gmail.com>
Mon, 3 Jun 2013 22:05:45 +0000 (23:05 +0100)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 17:55:23 +0000 (09:55 -0800)
16/6b77875d8f3bb6df4545cc0b6161f7a2ce623f [new file with mode: 0644]

diff --git a/16/6b77875d8f3bb6df4545cc0b6161f7a2ce623f b/16/6b77875d8f3bb6df4545cc0b6161f7a2ce623f
new file mode 100644 (file)
index 0000000..5945b4c
--- /dev/null
@@ -0,0 +1,83 @@
+Return-Path: <markwalters1009@gmail.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 7DE54431FAF\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Jun 2013 15:06:00 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0.201\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0.201 tagged_above=-999 required=5\r
+       tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1,\r
+       FREEMAIL_ENVFROM_END_DIGIT=1, FREEMAIL_FROM=0.001,\r
+       RCVD_IN_DNSWL_LOW=-0.7] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 997OE0np3Kss for <notmuch@notmuchmail.org>;\r
+       Mon,  3 Jun 2013 15:05:53 -0700 (PDT)\r
+Received: from mail-we0-f177.google.com (mail-we0-f177.google.com\r
+       [74.125.82.177]) (using TLSv1 with cipher RC4-SHA (128/128 bits))\r
+       (No client certificate requested)\r
+       by olra.theworths.org (Postfix) with ESMTPS id C3A34431FAE\r
+       for <notmuch@notmuchmail.org>; Mon,  3 Jun 2013 15:05:52 -0700 (PDT)\r
+Received: by mail-we0-f177.google.com with SMTP id m19so1452275wev.36\r
+       for <notmuch@notmuchmail.org>; Mon, 03 Jun 2013 15:05:50 -0700 (PDT)\r
+DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;\r
+       h=from:to:cc:subject:date:message-id:x-mailer;\r
+       bh=T5LpmlwETO452tsbpFYEzvCBEJSrulLcQ1IlIWuaCt0=;\r
+       b=PkeAL29vHXhXptj3frp7WTMGM1/wupGrnjW4Zq2YB5/jxn5okQtMiKRUnEJKbJCON8\r
+       DXEXIzbGEn3jv8i7vQ0MAW5wy3lfPMd7WZG/5H3+aaai/dIgsp6GjZgOmcr9AEpgp72A\r
+       A8BvDjVHRcj040GRe3QzTGab0rFgLsu7GPsFLcL7s4BZSVTvyOzY9cqaMzm3Y+cU7mnx\r
+       QeF/INvJpl6CxW24I+Yz7NY7NjgjaoXEQ6eNPBG+LCELMioDnvtCj4BxXrKOmU1B/orL\r
+       V3IEv8gTK4L57zZldrlu0gsujn5GK3CytvmJB2JanBxRl7eWc9TwQlSiOJcA5V1QLVcL\r
+       UVLQ==\r
+X-Received: by 10.180.80.101 with SMTP id q5mr33881wix.57.1370297150421;\r
+       Mon, 03 Jun 2013 15:05:50 -0700 (PDT)\r
+Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31])\r
+       by mx.google.com with ESMTPSA id x13sm26503618wib.3.2013.06.03.15.05.49\r
+       for <multiple recipients>\r
+       (version=TLSv1.2 cipher=RC4-SHA bits=128/128);\r
+       Mon, 03 Jun 2013 15:05:49 -0700 (PDT)\r
+From: Mark Walters <markwalters1009@gmail.com>\r
+To: notmuch@notmuchmail.org\r
+Subject: [PATCH] contrib: pick: remove unnecessary funcall\r
+Date: Mon,  3 Jun 2013 23:05:45 +0100\r
+Message-Id: <1370297145-28380-1-git-send-email-markwalters1009@gmail.com>\r
+X-Mailer: git-send-email 1.7.9.1\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Mon, 03 Jun 2013 22:06:00 -0000\r
+\r
+Remove unnecessary funcall. This keeps the pick function inline with\r
+the recently tweaked show function.\r
+---\r
+ contrib/notmuch-pick/notmuch-pick.el |    2 +-\r
+ 1 files changed, 1 insertions(+), 1 deletions(-)\r
+\r
+diff --git a/contrib/notmuch-pick/notmuch-pick.el b/contrib/notmuch-pick/notmuch-pick.el\r
+index 0e66efa..10a2bf7 100644\r
+--- a/contrib/notmuch-pick/notmuch-pick.el\r
++++ b/contrib/notmuch-pick/notmuch-pick.el\r
+@@ -282,7 +282,7 @@ Does NOT change the database."\r
+ (defun notmuch-pick-tag (&optional tag-changes)\r
+   "Change tags for the current message"\r
+   (interactive)\r
+-  (setq tag-changes (funcall 'notmuch-tag (notmuch-pick-get-message-id) tag-changes))\r
++  (setq tag-changes (notmuch-tag (notmuch-pick-get-message-id) tag-changes))\r
+   (notmuch-pick-tag-update-display tag-changes))\r
\r
+ (defun notmuch-pick-add-tag ()\r
+-- \r
+1.7.9.1\r
+\r