From 878e4e445a28e4a92d6ce0621b7a891e3d78a45b Mon Sep 17 00:00:00 2001 From: Amin Bandali Date: Tue, 21 Apr 2020 00:57:34 -0400 Subject: [PATCH 1/1] * init.el(b/duplicate-line-or-region): Remove unused code. --- init.el | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/init.el b/init.el index 5d4b8b5..bb42550 100644 --- a/init.el +++ b/init.el @@ -271,13 +271,7 @@ Make N (default: 1) copies of the current line or region." (newline) (forward-line 1)))))) (dotimes (_ (abs n1)) - (insert text)))) - (let* ((beg (if u-r-p - (region-beginning) - (line-beginning-position))) - (end (if u-r-p - (region-end) - (line-end-position))))))) + (insert text)))))) ;;; Defaults -- 2.20.1