[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 5bd4593 067/439: Add note about !rpartial only wor
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 5bd4593 067/439: Add note about !rpartial only working on Emacs 24+ |
Date: |
Tue, 04 Aug 2015 20:26:28 +0000 |
branch: externals/dash
commit 5bd4593d7737afc555ba84104e1eeb5607615f9d
Author: Magnar Sveen <address@hidden>
Commit: Magnar Sveen <address@hidden>
Add note about !rpartial only working on Emacs 24+
---
bang.el | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/bang.el b/bang.el
index 81c2350..9463198 100644
--- a/bang.el
+++ b/bang.el
@@ -143,14 +143,15 @@ Thus function FN should return a collection."
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."
- `(closure (t) (&rest args)
- (apply ',fn ,@(mapcar (lambda (arg) `',arg) args) 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.
When called, the returned function calls FN with the additional
-args first and then ARGS."
+args first and then ARGS.
+
+Requires Emacs 24 or higher."
`(closure (t) (&rest args)
(apply ',fn (append args ',args))))
- [elpa] externals/dash 2b89641 049/439: Remove needless duplication., (continued)
- [elpa] externals/dash 2b89641 049/439: Remove needless duplication., Phillip Lord, 2015/08/04
- [elpa] externals/dash b337ef9 052/439: Sync examples-to-docs.el with the one in s.el, Phillip Lord, 2015/08/04
- [elpa] externals/dash db8a745 056/439: Add !each, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6be4c03 058/439: !first, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0991c29 057/439: Added some common aliases, Phillip Lord, 2015/08/04
- [elpa] externals/dash a6323eb 059/439: Add some tests that verify that the lists are evaled by the anaphoric macros., Phillip Lord, 2015/08/04
- [elpa] externals/dash 70488c2 063/439: Add !rpartial, Phillip Lord, 2015/08/04
- [elpa] externals/dash 1a7ad85 065/439: Mention Melpa in README, Phillip Lord, 2015/08/04
- [elpa] externals/dash d83ea8a 061/439: Add installation instructions., Phillip Lord, 2015/08/04
- [elpa] externals/dash 047eeea 066/439: Run tests on Emacs 24., Phillip Lord, 2015/08/04
- [elpa] externals/dash 5bd4593 067/439: Add note about !rpartial only working on Emacs 24+,
Phillip Lord <=
- [elpa] externals/dash 05dec7a 062/439: Fix example., Phillip Lord, 2015/08/04
- [elpa] externals/dash 4205e58 064/439: Add clojure threading macros, !-> and !->>, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6520496 060/439: First release, remove warning., Phillip Lord, 2015/08/04
- [elpa] externals/dash ca3eea7 070/439: Fix examples-to-docs to support documenting macros., Phillip Lord, 2015/08/04
- [elpa] externals/dash b29a5bb 071/439: Use make-symbol in macros to avoid names clashing., Phillip Lord, 2015/08/04
- [elpa] externals/dash 6f17346 068/439: Don't run !rpartial tests on Emacsen <24, Phillip Lord, 2015/08/04
- [elpa] externals/dash 66ffaa6 072/439: Add !interpose, Phillip Lord, 2015/08/04
- [elpa] externals/dash ec6a85f 074/439: Add threading macro !!-> with `it` as placeholder., Phillip Lord, 2015/08/04
- [elpa] externals/dash 9410f7e 073/439: Add !replace-where, Phillip Lord, 2015/08/04
- [elpa] externals/dash cd2a793 069/439: Run travis-ci on both E23 and E24, Phillip Lord, 2015/08/04