mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-18 18:00:11 +00:00
; * lisp/misc.el (duplicate-line-final-position): doc precision
This commit is contained in:
parent
042f0d6a14
commit
cecbe92d5d
2 changed files with 3 additions and 2 deletions
2
etc/NEWS
2
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
|
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'.
|
||||||
|
|
|
@ -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.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue