[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 4d67b25 345/426: [-let] Do not reinvent `pop'
From: |
Phillip Lord |
Subject: |
[elpa] externals/dash 4d67b25 345/426: [-let] Do not reinvent `pop' |
Date: |
Tue, 04 Aug 2015 19:38:46 +0000 |
branch: externals/dash
commit 4d67b2530e19fa2022be4c30d4a24f059e298f73
Author: Matus Goljer <address@hidden>
Commit: Matus Goljer <address@hidden>
[-let] Do not reinvent `pop'
---
dash.el | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/dash.el b/dash.el
index a66d3cb..7898dc9 100644
--- a/dash.el
+++ b/dash.el
@@ -1200,14 +1200,14 @@ SOURCE is a proper or improper list."
((symbolp (car match-form))
(cond
((cdr match-form)
- (cons (list (car match-form) `(prog1 (car ,s) (!cdr ,s)))
+ (cons (list (car match-form) `(pop ,s))
(dash--match-cons-1 (cdr match-form) s)))
(t
(list (list (car match-form) `(car ,s))))))
(t
(cond
((cdr match-form)
- (-concat (dash--match (car match-form) `(prog1 (car ,s) (!cdr ,s)))
+ (-concat (dash--match (car match-form) `(pop ,s))
(dash--match-cons-1 (cdr match-form) s)))
(t
(dash--match (car match-form) `(car ,s)))))))
- [elpa] externals/dash 6f81492 346/426: [-lambda] Better error-handling, (continued)
- [elpa] externals/dash 6f81492 346/426: [-lambda] Better error-handling, Phillip Lord, 2015/08/04
- [elpa] externals/dash 6f0bb7d 348/426: [-let] Fix dynamic scoping issue, Phillip Lord, 2015/08/04
- [elpa] externals/dash f939201 347/426: [-let] Optimize shifting/binding of unused _ places, Phillip Lord, 2015/08/04
- [elpa] externals/dash c1d555b 355/426: [-let] Optimize single-binding of vectors and kv, Phillip Lord, 2015/08/04
- [elpa] externals/dash edb1e31 356/426: [-let] Add more tests, Phillip Lord, 2015/08/04
- [elpa] externals/dash 9ec1a02 354/426: [-let] Abstract the _ test into a function, Phillip Lord, 2015/08/04
- [elpa] externals/dash 31f321a 358/426: Release 2.9.0, Phillip Lord, 2015/08/04
- [elpa] externals/dash 40849a7 357/426: [-let] Remove stale comment, Phillip Lord, 2015/08/04
- [elpa] externals/dash 2626840 336/426: Add -fixfn, Phillip Lord, 2015/08/04
- [elpa] externals/dash 2436bf8 361/426: Add debug declaration on -lambda, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4d67b25 345/426: [-let] Do not reinvent `pop',
Phillip Lord <=
- [elpa] externals/dash f7664c6 352/426: [-let] Add &keys support for cons matcher, Phillip Lord, 2015/08/04
- [elpa] externals/dash 4b63be1 362/426: Declare --mapcat macro before using it. #102, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0310e0e 359/426: Update docs, Phillip Lord, 2015/08/04
- [elpa] externals/dash 0fc5d73 351/426: [-let] Make the cons matcher temp-bind as late as possible, Phillip Lord, 2015/08/04
- [elpa] externals/dash 75d29a2 363/426: Declare --iterate macro before using it. #102, Phillip Lord, 2015/08/04
- [elpa] externals/dash 3bdf60b 365/426: Add some examples, Phillip Lord, 2015/08/04
- [elpa] externals/dash 65a3736 349/426: [-let] Fix improper list non-symbol last argument handler, Phillip Lord, 2015/08/04
- [elpa] externals/dash 549bfd3 366/426: Reorder macros to make sure they are declared before being used, Phillip Lord, 2015/08/04
- [elpa] externals/dash db7f651 353/426: [-let] Simplify the conditions in dash--match-cons-1, Phillip Lord, 2015/08/04
- [elpa] externals/dash c6b92ae 324/426: Reorder the examples into more meaningful blocks, Phillip Lord, 2015/08/04