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