From 1f7f6d0bbdc53903e6a55ee7288c8c4e60ae7f15 Mon Sep 17 00:00:00 2001
From: Bozhidar Batsov <bozhidar@tradeo.com>
Date: Sat, 19 Jan 2013 09:01:46 +0200
Subject: [PATCH] Fix #255.

`prelude-duplicate-current-line-or-region` was broken after the introduction of
dash.el.
---
 core/prelude-core.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/core/prelude-core.el b/core/prelude-core.el
index ccb2318..ede35f1 100644
--- a/core/prelude-core.el
+++ b/core/prelude-core.el
@@ -161,7 +161,7 @@ there's a region, all lines that region covers will be duplicated."
     (setq end (line-end-position))
     (let ((region (buffer-substring-no-properties beg end)))
       (-dotimes arg
-                (lambda ()
+                (lambda (n)
                   (goto-char end)
                   (newline)
                   (insert region)