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

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

[elpa] externals/dash 502be58 029/316: Make -each-indexed indent like -e


From: ELPA Syncer
Subject: [elpa] externals/dash 502be58 029/316: Make -each-indexed indent like -each
Date: Mon, 15 Feb 2021 15:57:18 -0500 (EST)

branch: externals/dash
commit 502be58722262c5b9d779848a168b0dc67ee7471
Author: Matus Goljer <matus.goljer@gmail.com>
Commit: Matus Goljer <matus.goljer@gmail.com>

    Make -each-indexed indent like -each
---
 dash.el | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dash.el b/dash.el
index eb9105b..ee362b5 100644
--- a/dash.el
+++ b/dash.el
@@ -101,6 +101,7 @@ In the anaphoric form `--each-indexed', the index is 
exposed as `it-index`.
 
 See also: `-map-indexed'."
   (--each list (funcall fn it-index it)))
+(put '-each-indexed 'lisp-indent-function 1)
 
 (defmacro --each-while (list pred &rest body)
   "Anaphoric form of `-each-while'."



reply via email to

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