Browse Source

Fix #255.

`prelude-duplicate-current-line-or-region` was broken after the introduction of
dash.el.
custom
Bozhidar Batsov 13 years ago
parent
commit
1f7f6d0bbd
  1. 2
      core/prelude-core.el

2
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)

Loading…
Cancel
Save