From d7fb11b6d71ec67746bade24fa5cff1ecdc5d45d Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 2 Sep 2021 10:22:52 +0200 Subject: [PATCH] Reformat up-list and backward-up-list doc strings * lisp/emacs-lisp/lisp.el (backward-up-list): Reformat the doc string into several paragraphs (bug#31349). (up-list): Ditto and fix the "start" to be "end". --- lisp/emacs-lisp/lisp.el | 32 ++++++++++++++++++++------------ 1 file changed, 20 insertions(+), 12 deletions(-) diff --git a/lisp/emacs-lisp/lisp.el b/lisp/emacs-lisp/lisp.el index 2495277ba23..9b38d86e2c7 100644 --- a/lisp/emacs-lisp/lisp.el +++ b/lisp/emacs-lisp/lisp.el @@ -186,12 +186,16 @@ report errors as appropriate for this kind of usage." This command will also work on other parentheses-like expressions defined by the current language mode. With ARG, do this that many times. A negative argument means move forward but still to -a less deep spot. If ESCAPE-STRINGS is non-nil (as it is -interactively), move out of enclosing strings as well. If -NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer to -break out of any enclosing string instead of moving to the start -of a list broken across multiple strings. On error, location of -point is unspecified." +a less deep spot. + +If ESCAPE-STRINGS is non-nil (as it is interactively), move out +of enclosing strings as well. + +If NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer +to break out of any enclosing string instead of moving to the +start of a list broken across multiple strings. + +On error, location of point is unspecified." (interactive "^p\nd\nd") (up-list (- (or arg 1)) escape-strings no-syntax-crossing)) @@ -200,12 +204,16 @@ point is unspecified." This command will also work on other parentheses-like expressions defined by the current language mode. With ARG, do this that many times. A negative argument means move backward but still to -a less deep spot. If ESCAPE-STRINGS is non-nil (as it is -interactively), move out of enclosing strings as well. If -NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer to -break out of any enclosing string instead of moving to the start -of a list broken across multiple strings. On error, location of -point is unspecified." +a less deep spot. + +If ESCAPE-STRINGS is non-nil (as it is interactively), move out +of enclosing strings as well. + +If NO-SYNTAX-CROSSING is non-nil (as it is interactively), prefer +to break out of any enclosing string instead of moving to the +end of a list broken across multiple strings. + +On error, location of point is unspecified." (interactive "^p\nd\nd") (or arg (setq arg 1)) (let ((inc (if (> arg 0) 1 -1)) -- 2.39.2