emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

master a491b73 2/2: Improve 'ensure-empty-lines' docstring


From: Robert Pluim
Subject: master a491b73 2/2: Improve 'ensure-empty-lines' docstring
Date: Wed, 10 Nov 2021 12:32:53 -0500 (EST)

branch: master
commit a491b73c765adde894acdbafc6fd97edd4343c2c
Author: Robert Pluim <rpluim@gmail.com>
Commit: Robert Pluim <rpluim@gmail.com>

    Improve 'ensure-empty-lines' docstring
    
    * lisp/emacs-lisp/subr-x.el (ensure-empty-lines): Fix typo and improve
    wording.
---
 lisp/emacs-lisp/subr-x.el | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/lisp/emacs-lisp/subr-x.el b/lisp/emacs-lisp/subr-x.el
index e3caf88..f336799 100644
--- a/lisp/emacs-lisp/subr-x.el
+++ b/lisp/emacs-lisp/subr-x.el
@@ -416,14 +416,14 @@ and return the value found in PLACE instead."
 
 ;;;###autoload
 (defun ensure-empty-lines (&optional lines)
-  "Ensure that there's LINES number of empty lines before point.
-If LINES is nil or missing, a this ensures that there's a single
-empty line before point.
+  "Ensure that there are LINES number of empty lines before point.
+If LINES is nil or omitted, ensure that there is a single empty
+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
-number of blank lines will be reduced.
+If there are more than LINES empty lines before point, the number
+of empty lines is reduced to LINES.
 
 If point is not at the beginning of a line, a newline character
 is inserted before adjusting the number of empty lines."



reply via email to

[Prev in Thread] Current Thread [Next in Thread]