Improve 'ensure-empty-lines' docstring
* lisp/emacs-lisp/subr-x.el (ensure-empty-lines): Fix typo and improve wording.
This commit is contained in:
parent
c5e7a0225b
commit
a491b73c76
1 changed files with 6 additions and 6 deletions
|
@ -416,14 +416,14 @@ and return the value found in PLACE instead."
|
||||||
|
|
||||||
;;;###autoload
|
;;;###autoload
|
||||||
(defun ensure-empty-lines (&optional lines)
|
(defun ensure-empty-lines (&optional lines)
|
||||||
"Ensure that there's LINES number of empty lines before point.
|
"Ensure that there are LINES number of empty lines before point.
|
||||||
If LINES is nil or missing, a this ensures that there's a single
|
If LINES is nil or omitted, ensure that there is a single empty
|
||||||
empty line before point.
|
line before point.
|
||||||
|
|
||||||
Interactively, this command uses the numerical prefix for LINES.
|
If called interactively, LINES is given by the prefix argument.
|
||||||
|
|
||||||
If there's already more empty lines before point than LINES, the
|
If there are more than LINES empty lines before point, the number
|
||||||
number of blank lines will be reduced.
|
of empty lines is reduced to LINES.
|
||||||
|
|
||||||
If point is not at the beginning of a line, a newline character
|
If point is not at the beginning of a line, a newline character
|
||||||
is inserted before adjusting the number of empty lines."
|
is inserted before adjusting the number of empty lines."
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue