1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-24 19:03:29 +00:00

; * lisp/misc.el (duplicate-line-final-position): doc precision

This commit is contained in:
Mattias Engdegård 2023-06-29 11:21:53 +02:00
parent 042f0d6a14
commit cecbe92d5d
2 changed files with 3 additions and 2 deletions

View File

@ -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'.

View File

@ -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.