From cecbe92d5d99c427bcbeafc6ee2e53d6aac334e8 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Mattias=20Engdeg=C3=A5rd?= Date: Thu, 29 Jun 2023 11:21:53 +0200 Subject: [PATCH] ; * lisp/misc.el (duplicate-line-final-position): doc precision --- etc/NEWS | 2 +- lisp/misc.el | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/etc/NEWS b/etc/NEWS index aa3b758a815..9e6f0c16bcd 100644 --- a/etc/NEWS +++ b/etc/NEWS @@ -698,7 +698,7 @@ between these modes while the user is inputting a command by hitting works like 'duplicate-line'. An active rectangular region is duplicated on its right-hand side. The new user option 'duplicate-line-final-position' specifies where to move point -after duplicating the line. +after duplicating a line. --- ** Files with the ".eld" extension are now visited in 'lisp-data-mode'. diff --git a/lisp/misc.el b/lisp/misc.el index 898fe9dd168..64f3986ff4c 100644 --- a/lisp/misc.el +++ b/lisp/misc.el @@ -64,7 +64,8 @@ Also see the `duplicate-line' command." (insert string))) (defcustom duplicate-line-final-position 0 - "Where to put point after duplicating the line with `duplicate-line'. + "Where to put point after duplicating a line with `duplicate-line' +or `duplicate-dwim'. When 0, leave point on the original line. When 1, move point to the first new line. When -1, move point to the last new line. -- 2.39.2