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

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

[elpa] externals/dash 3132ae0 314/439: Alias -tail to nthcdr


From: Phillip Lord
Subject: [elpa] externals/dash 3132ae0 314/439: Alias -tail to nthcdr
Date: Tue, 04 Aug 2015 20:29:34 +0000

branch: externals/dash
commit 3132ae07e138e9d12b05f38e640bcbd67de00d42
Author: Matus Goljer <address@hidden>
Commit: Matus Goljer <address@hidden>

    Alias -tail to nthcdr
---
 dash.el |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/dash.el b/dash.el
index 240b93d..5af9905 100644
--- a/dash.el
+++ b/dash.el
@@ -467,10 +467,7 @@ section is returned.  Defaults to 1."
         (!cdr list)))
     (nreverse result)))
 
-(defun -drop (n list)
-  "Returns the tail of LIST without the first N items."
-  (--dotimes n (!cdr list))
-  list)
+(defalias '-drop 'nthcdr "Returns the tail of LIST without the first N items.")
 
 (defmacro --take-while (form list)
   "Anaphoric form of `-take-while'."



reply via email to

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