* init.el(b/duplicate-line-or-region): Remove unused code.
authorAmin Bandali <bandali@gnu.org>
Tue, 21 Apr 2020 04:57:34 +0000 (00:57 -0400)
committerAmin Bandali <bandali@gnu.org>
Tue, 21 Apr 2020 04:57:34 +0000 (00:57 -0400)
init.el

diff --git a/init.el b/init.el
index 5d4b8b5..bb42550 100644 (file)
--- 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))
                      (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))))))
 
 \f
 ;;; Defaults
 
 \f
 ;;; Defaults