[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 cecbe92d5d9: ; * lisp/misc.el (duplicate-line-final-position):
From: |
Mattias Engdegård |
Subject: |
emacs-29 cecbe92d5d9: ; * lisp/misc.el (duplicate-line-final-position): doc precision |
Date: |
Thu, 29 Jun 2023 05:53:31 -0400 (EDT) |
branch: emacs-29
commit cecbe92d5d99c427bcbeafc6ee2e53d6aac334e8
Author: Mattias Engdegård <mattiase@acm.org>
Commit: Mattias Engdegård <mattiase@acm.org>
; * 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.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 cecbe92d5d9: ; * lisp/misc.el (duplicate-line-final-position): doc precision,
Mattias Engdegård <=