From 41bce34d0bbed656f3d4bcdc65b20e8a9a6c554e Mon Sep 17 00:00:00 2001 From: Sohom Bhattacharjee Date: Thu, 12 Apr 2018 12:11:03 +0530 Subject: [PATCH 3/3] gnu: Add emacs-noflet * gnu/packages/emacs.scm (eamcs-noflet): New variable. --- gnu/packages/emacs.scm | 25 +++++++++++++++++++++++-- 1 file changed, 23 insertions(+), 2 deletions(-) diff --git a/gnu/packages/emacs.scm b/gnu/packages/emacs.scm index 69a5449e6..606614bdb 100644 --- a/gnu/packages/emacs.scm +++ b/gnu/packages/emacs.scm @@ -7578,7 +7578,28 @@ match and total match information in the mode-line in various search modes.") multiple programming languages that favors \"just working\" over speed or accuracy. This means minimal -- and ideally zero -- configuration with absolutely no stored indexes (tags) or persistent background processes. Dumb -Jump performs best with The Silver Searcher @command{ag} or ripgrep @comand{rg} installed. -Dumb Jump requires at least GNU Emacs 24.3. +Jump performs best with The Silver Searcher @command{ag} or ripgrep +@comand{rg} installed. Dumb Jump requires at least GNU Emacs 24.3. ") (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.16.2