From: Amin Bandali Date: Tue, 21 Apr 2020 04:57:34 +0000 (-0400) Subject: * init.el(b/duplicate-line-or-region): Remove unused code. X-Git-Url: https://git.shemshak.org/~bandali/configs/commitdiff_plain/878e4e445a28e4a92d6ce0621b7a891e3d78a45b?ds=sidebyside * init.el(b/duplicate-line-or-region): Remove unused code. --- 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