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