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.
master
Philipp Stephani 6 years ago committed by Magnar Sveen
parent ea4a4cc7cc
commit 732d92eac5
  1. 7
      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.

Loading…
Cancel
Save