[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/dash 8c47f17 038/316: Add function signatures for alias
From: |
ELPA Syncer |
Subject: |
[elpa] externals/dash 8c47f17 038/316: Add function signatures for aliases of built-in functions (#201) |
Date: |
Mon, 15 Feb 2021 15:57:20 -0500 (EST) |
branch: externals/dash
commit 8c47f17cbc1ad8fba2172f7353a8e766238be090
Author: Wilfred Hughes <me@wilfred.me.uk>
Commit: Matus Goljer <dota.keys@gmail.com>
Add function signatures for aliases of built-in functions (#201)
Otherwise, Emacs cannot show helpful signatures, and just uses ARG1 ARG2
instead.
For example, prior to this change, `-drop` was described as:
-drop is an alias for `nthcdr' in `dash.el'.
(-drop ARG1 ARG2)
Return the tail of LIST without the first N items.
---
dash.el | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/dash.el b/dash.el
index f5561b5..8542df2 100644
--- a/dash.el
+++ b/dash.el
@@ -469,7 +469,9 @@ See also: `-flatten'"
(apply 'append lists))
(defalias '-copy 'copy-sequence
- "Create a shallow copy of LIST.")
+ "Create a shallow copy of LIST.
+
+\(fn LIST)")
(defun -splice (pred fun list)
"Splice lists generated by FUN in place of elements matching PRED in LIST.
@@ -572,7 +574,9 @@ Alias: `-any'"
(--last (funcall pred it) list))
(defalias '-first-item 'car
- "Return the first item of LIST, or nil on an empty list.")
+ "Return the first item of LIST, or nil on an empty list.
+
+\(fn LIST)")
(defun -last-item (list)
"Return the last item of LIST, or nil on an empty list."
@@ -723,7 +727,9 @@ See also: `-take'"
(defalias '-drop 'nthcdr
"Return the tail of LIST without the first N items.
-See also: `-drop-last'")
+See also: `-drop-last'
+
+\(fn N LIST)")
(defun -drop-last (n list)
"Remove the last N items of LIST and return a copy.
- [elpa] externals/dash be03404 179/316: Fix package keywords, (continued)
- [elpa] externals/dash be03404 179/316: Fix package keywords, ELPA Syncer, 2021/02/15
- [elpa] externals/dash b92ab5a 175/316: Merge branch 'zaeph/fix-typo', ELPA Syncer, 2021/02/15
- [elpa] externals/dash eb0a94f 178/316: Update docs after incorporating README.md change, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 732d92e 173/316: Remove duplicate definition., ELPA Syncer, 2021/02/15
- [elpa] externals/dash b1bc1bf 181/316: Use correct names of package archives, ELPA Syncer, 2021/02/15
- [elpa] externals/dash f2c0e0d 184/316: Add dash-fontify-mode, ELPA Syncer, 2021/02/15
- [elpa] externals/dash e47ecb8 187/316: Improve --each-while, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 081e10a 192/316: Improve take/drop definitions, ELPA Syncer, 2021/02/15
- [elpa] externals/dash aa76fb3 201/316: Copy-edit README, ELPA Syncer, 2021/02/15
- [elpa] externals/dash ac1f66a 215/316: ; Fix omission in last change, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 8c47f17 038/316: Add function signatures for aliases of built-in functions (#201),
ELPA Syncer <=
- [elpa] externals/dash 38d44ed 128/316: Implement --doto, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 6514359 126/316: Merge pull request #264 from basil-conto/blc/reduce, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 258c324 140/316: Release 2.16.0, ELPA Syncer, 2021/02/15
- [elpa] externals/dash fdf6140 158/316: Merge pull request #322 from wbolster/zip-pair-doc-clarification, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 721436b 168/316: chore: release 2.17.0, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 562084e 171/316: Fix another typo and its copies, ELPA Syncer, 2021/02/15
- [elpa] externals/dash ea4a4cc 172/316: Merge pull request #338 from tarsiiformes/typos, ELPA Syncer, 2021/02/15
- [elpa] externals/dash f800e2e 186/316: Prefer declare forms over lisp-indent-function, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 2da2304 188/316: Remove generated manual dash.info, ELPA Syncer, 2021/02/15
- [elpa] externals/dash 713fd6c 193/316: Merge pull request #354 from blc/takedrop, ELPA Syncer, 2021/02/15