From fe1a634c64a4f8ad6c05fcc80bd9ca5179e4e664 Mon Sep 17 00:00:00 2001 From: Mark Walters Date: Tue, 14 May 2013 09:13:53 +0100 Subject: [PATCH] [PATCH] emacs: tag: fix compile warning --- 50/1562b54d6d20c4725c8dfccc68e838006d6141 | 93 +++++++++++++++++++++++ 1 file changed, 93 insertions(+) create mode 100644 50/1562b54d6d20c4725c8dfccc68e838006d6141 diff --git a/50/1562b54d6d20c4725c8dfccc68e838006d6141 b/50/1562b54d6d20c4725c8dfccc68e838006d6141 new file mode 100644 index 000000000..25be119b6 --- /dev/null +++ b/50/1562b54d6d20c4725c8dfccc68e838006d6141 @@ -0,0 +1,93 @@ +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 D4335431FC4 + for ; Tue, 14 May 2013 01:14:08 -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 raR-qFv6H84R for ; + Tue, 14 May 2013 01:14:03 -0700 (PDT) +Received: from mail-wi0-f173.google.com (mail-wi0-f173.google.com + [209.85.212.173]) (using TLSv1 with cipher RC4-SHA (128/128 bits)) + (No client certificate requested) + by olra.theworths.org (Postfix) with ESMTPS id 32336431FC2 + for ; Tue, 14 May 2013 01:14:03 -0700 (PDT) +Received: by mail-wi0-f173.google.com with SMTP id hi5so2337552wib.0 + for ; Tue, 14 May 2013 01:14:01 -0700 (PDT) +DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; + h=x-received:from:to:cc:subject:date:message-id:x-mailer; + bh=o/NIe5JbWJHPgTI6SiCXHrlvWNvNSYfIKudBAC2u/uw=; + b=oTNpsNfPcuCG9fiv3WZ4JAf2hTgH8dJUhOdhxfBbg1OlXJalqDv7hdtRCFBjwS3wfh + bS/2aAA8vkLyU7VF2T2RSFcc3iCujB7KRgKuT76hp/mPwZL+y8AIQPUethuKGX6beu4I + 95gKcxi0/fjcmUmUsF5YuBmHbpApIUwioBmxeqAPFtOMm5P2Bl5A0jColVr0K6tq7XAV + ikJD9hm5h4TM6+YCjkcTMX2jfBcZPsB2rjnqtMcwongjeGjHZ+yopCuEnNiUeEz9gGEe + 0zWMvt5BtT1pe4BRFNKmQsTnXlcAMF/KEl246wt6ShGiku1FIs5uA1ue8Xr4hx5Tfljj + 4+kg== +X-Received: by 10.180.39.233 with SMTP id s9mr3929933wik.25.1368519239440; + Tue, 14 May 2013 01:13:59 -0700 (PDT) +Received: from localhost (93-97-24-31.zone5.bethere.co.uk. [93.97.24.31]) + by mx.google.com with ESMTPSA id f2sm20053331wiv.11.2013.05.14.01.13.57 + for + (version=TLSv1.2 cipher=RC4-SHA bits=128/128); + Tue, 14 May 2013 01:13:58 -0700 (PDT) +From: Mark Walters +To: notmuch@notmuchmail.org +Subject: [PATCH] emacs: tag: fix compile warning +Date: Tue, 14 May 2013 09:13:53 +0100 +Message-Id: <1368519233-18043-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: Tue, 14 May 2013 08:14:09 -0000 + +When compiling notmuch-tag.el there is a compile warning: +notmuch-tag.el:27:1:Warning: cl package required at runtime + +Since we have decided to allow runtime use of cl we suppress this +warning by adding a tail comment to the file. +--- + +This warning has irritated me for some time: thanks to Austin (on irc) +for pointing out how to fix it. + +Best wishes + +Mark + + emacs/notmuch-tag.el | 4 ++++ + 1 files changed, 4 insertions(+), 0 deletions(-) + +diff --git a/emacs/notmuch-tag.el b/emacs/notmuch-tag.el +index 75a438b..064cfa8 100644 +--- a/emacs/notmuch-tag.el ++++ b/emacs/notmuch-tag.el +@@ -292,3 +292,7 @@ begin with a \"+\" or a \"-\". If REVERSE is non-nil, replace all + ;; + + (provide 'notmuch-tag) ++ ++;; Local Variables: ++;; byte-compile-warnings: (not cl-functions) ++;; End: +-- +1.7.9.1 + -- 2.26.2