diff options
| author | Mattias EngdegÄrd | 2023-06-29 11:21:53 +0200 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2023-06-29 11:24:47 +0200 |
| commit | cecbe92d5d99c427bcbeafc6ee2e53d6aac334e8 (patch) | |
| tree | 6becc22850a3aea2729ec023ea48072ba8c041db | |
| parent | 042f0d6a14cd99eb9d33cfccc6239534bc40e712 (diff) | |
| download | emacs-cecbe92d5d99c427bcbeafc6ee2e53d6aac334e8.tar.gz emacs-cecbe92d5d99c427bcbeafc6ee2e53d6aac334e8.zip | |
; * lisp/misc.el (duplicate-line-final-position): doc precision
| -rw-r--r-- | etc/NEWS | 2 | ||||
| -rw-r--r-- | lisp/misc.el | 3 |
2 files changed, 3 insertions, 2 deletions
| @@ -698,7 +698,7 @@ between these modes while the user is inputting a command by hitting | |||
| 698 | works like 'duplicate-line'. An active rectangular region is | 698 | works like 'duplicate-line'. An active rectangular region is |
| 699 | duplicated on its right-hand side. The new user option | 699 | duplicated on its right-hand side. The new user option |
| 700 | 'duplicate-line-final-position' specifies where to move point | 700 | 'duplicate-line-final-position' specifies where to move point |
| 701 | after duplicating the line. | 701 | after duplicating a line. |
| 702 | 702 | ||
| 703 | --- | 703 | --- |
| 704 | ** Files with the ".eld" extension are now visited in 'lisp-data-mode'. | 704 | ** 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." | |||
| 64 | (insert string))) | 64 | (insert string))) |
| 65 | 65 | ||
| 66 | (defcustom duplicate-line-final-position 0 | 66 | (defcustom duplicate-line-final-position 0 |
| 67 | "Where to put point after duplicating the line with `duplicate-line'. | 67 | "Where to put point after duplicating a line with `duplicate-line' |
| 68 | or `duplicate-dwim'. | ||
| 68 | When 0, leave point on the original line. | 69 | When 0, leave point on the original line. |
| 69 | When 1, move point to the first new line. | 70 | When 1, move point to the first new line. |
| 70 | When -1, move point to the last new line. | 71 | When -1, move point to the last new line. |