; * 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 works like 'duplicate-line'. An active rectangular region is
duplicated on its right-hand side. The new user option duplicated on its right-hand side. The new user option
'duplicate-line-final-position' specifies where to move point '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'. ** 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))) (insert string)))
(defcustom duplicate-line-final-position 0 (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 0, leave point on the original line.
When 1, move point to the first new line. When 1, move point to the first new line.
When -1, move point to the last new line. When -1, move point to the last new line.