From faabaa958b7b25f07d2a8dad976f968926ba4494 Mon Sep 17 00:00:00 2001 From: Lars Tveito Date: Tue, 10 Mar 2020 20:45:54 +0100 Subject: [PATCH] Fix duplicate-thing for long lines --- init.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/init.org b/init.org index f67cef6..23f9c04 100644 --- a/init.org +++ b/init.org @@ -766,7 +766,8 @@ (interactive "P") (save-excursion (let ((start (if (region-active-p) (region-beginning) (point-at-bol))) - (end (if (region-active-p) (region-end) (point-at-eol)))) + (end (if (region-active-p) (region-end) (point-at-eol))) + (fill-column most-positive-fixnum)) (goto-char end) (unless (region-active-p) (newline))