From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38122) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDQW8-0004NW-Qb for guix-patches@gnu.org; Tue, 01 May 2018 04:20:10 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDQW4-0007We-O1 for guix-patches@gnu.org; Tue, 01 May 2018 04:20:08 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:36785) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDQW4-0007WU-I4 for guix-patches@gnu.org; Tue, 01 May 2018 04:20:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fDQW2-0001km-EW for guix-patches@gnu.org; Tue, 01 May 2018 04:20:04 -0400 Subject: [bug#31328] Add emacs-noflet Resent-Message-ID: Received: from eggs.gnu.org ([2001:4830:134:3::10]:37723) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fDQVH-0003j1-TX for guix-patches@gnu.org; Tue, 01 May 2018 04:19:17 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fDQVD-0006dT-Pw for guix-patches@gnu.org; Tue, 01 May 2018 04:19:15 -0400 Received: from mail-pf0-x234.google.com ([2607:f8b0:400e:c00::234]:38271) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fDQVD-0006cn-EB for guix-patches@gnu.org; Tue, 01 May 2018 04:19:11 -0400 Received: by mail-pf0-x234.google.com with SMTP id o76so8692140pfi.5 for ; Tue, 01 May 2018 01:19:11 -0700 (PDT) Received: from sam ([45.124.156.228]) by smtp.gmail.com with ESMTPSA id t11-v6sm15255515pgn.94.2018.05.01.01.19.07 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 01 May 2018 01:19:07 -0700 (PDT) Date: Tue, 1 May 2018 13:49:04 +0530 From: Sohom Bhattacharjee Message-ID: <20180501081904.GA17160@sam> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="4Ckj6UjgE2iN1+kY" Content-Disposition: inline List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: 31328@debbugs.gnu.org --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline This came up as a test dependency for emacs-dumb-jump (31036) I am sending this as a separate patch. Thank You :-) --4Ckj6UjgE2iN1+kY Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="0001-gnu-Add-emacs-noflet.patch" >From 0d228d05f456c59e189e181b940d6c27c47b3d7c Mon Sep 17 00:00:00 2001 From: Sohom Bhattacharjee Date: Tue, 1 May 2018 13:42:43 +0530 Subject: [PATCH] gnu: Add emacs-noflet. * gnu/packages/emacs.scm (emacs-noflet): New Variable. --- gnu/packages/emacs.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 963fc37c4..79c99db80 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -8002,3 +8002,24 @@ Emacs.") in @code{emacs-lisp-mode}, together with an elisp equivalent of @code{slime-describe-symbol}.") (license license:gpl3+))) + +(define-public emacs-noflet + (package + (name "emacs-noflet") + (version "20141102.654") + (source + (origin + (method url-fetch) + (uri (string-append "https://melpa.org/packages/noflet-" + version ".el")) + (sha256 + (base32 + "1a1wxb9zhrhj2iv1abjqpggyh5gwg13gwyz1052dqq4fbpbrwa0y")))) + (build-system emacs-build-system) + (home-page "https://github.com/nicferrier/emacs-noflet") + (synopsis "Locally override functions") + (description + "This let's you locally override functions, in the manner of +@command{flet}, but with access to the original function through the symbol: +@command{this-fn}.") + (license license:gpl3+))) -- 2.17.0 --4Ckj6UjgE2iN1+kY--