From: Lars Ingebrigtsen Date: Thu, 2 Sep 2021 08:22:52 +0000 (+0200) Subject: Reformat up-list and backward-up-list doc strings X-Git-Tag: emacs-28.0.90~1224 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d7fb11b6d71ec67746bade24fa5cff1ecdc5d45d;p=emacs.git 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". --- 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))