`prelude-duplicate-current-line-or-region` was broken after the introduction of
dash.el.
This commit is contained in:
Bozhidar Batsov 2013-01-19 09:01:46 +02:00
parent 202451cb57
commit 1f7f6d0bbd

View file

@ -161,7 +161,7 @@ there's a region, all lines that region covers will be duplicated."
(setq end (line-end-position)) (setq end (line-end-position))
(let ((region (buffer-substring-no-properties beg end))) (let ((region (buffer-substring-no-properties beg end)))
(-dotimes arg (-dotimes arg
(lambda () (lambda (n)
(goto-char end) (goto-char end)
(newline) (newline)
(insert region) (insert region)