emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/dash 732d92e 173/316: Remove duplicate definition.


From: ELPA Syncer
Subject: [elpa] externals/dash 732d92e 173/316: Remove duplicate definition.
Date: Mon, 15 Feb 2021 15:57:52 -0500 (EST)

branch: externals/dash
commit 732d92eac56023a4fb4a5dc3d9d4e274ebf44bf9
Author: Philipp Stephani <phst@google.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Remove duplicate definition.
    
    ‘-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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]