From 732d92eac56023a4fb4a5dc3d9d4e274ebf44bf9 Mon Sep 17 00:00:00 2001 From: Philipp Stephani Date: Wed, 10 Jun 2020 18:26:59 +0200 Subject: [PATCH] Remove duplicate definition. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ‘-partial’ is defined in dash.el and dash-functional.el. Since the latter loads the former, define it only in the former. --- dash-functional.el | 7 ------- 1 file changed, 7 deletions(-) diff --git a/dash-functional.el b/dash-functional.el index 07cc4ae..e30742b 100644 --- a/dash-functional.el +++ b/dash-functional.el @@ -31,13 +31,6 @@ (require 'dash) -(defun -partial (fn &rest args) - "Takes a function FN and fewer than the normal arguments to FN, -and returns a fn that takes a variable number of additional ARGS. -When called, the returned function calls FN with ARGS first and -then additional args." - (apply 'apply-partially fn args)) - (defun -rpartial (fn &rest args) "Takes a function FN and fewer than the normal arguments to FN, and returns a fn that takes a variable number of additional ARGS.