summaryrefslogtreecommitdiff
path: root/devdocs/elisp/motion-by-indent.html
blob: 2c0e8911b88bcc7f63b1428a39bfa02bebd3cf87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
 <h4 class="subsection">Indentation-Based Motion Commands</h4> <p>These commands, primarily for interactive use, act based on the indentation in the text. </p> <dl> <dt id="back-to-indentation">Command: <strong>back-to-indentation</strong>
</dt> <dd><p>This command moves point to the first non-whitespace character in the current line (which is the line in which point is located). It returns <code>nil</code>. </p></dd>
</dl> <dl> <dt id="backward-to-indentation">Command: <strong>backward-to-indentation</strong> <em>&amp;optional arg</em>
</dt> <dd><p>This command moves point backward <var>arg</var> lines and then to the first nonblank character on that line. It returns <code>nil</code>. If <var>arg</var> is omitted or <code>nil</code>, it defaults to 1. </p></dd>
</dl> <dl> <dt id="forward-to-indentation">Command: <strong>forward-to-indentation</strong> <em>&amp;optional arg</em>
</dt> <dd><p>This command moves point forward <var>arg</var> lines and then to the first nonblank character on that line. It returns <code>nil</code>. If <var>arg</var> is omitted or <code>nil</code>, it defaults to 1. </p></dd>
</dl><div class="_attribution">
  <p class="_attribution-p">
    Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
    <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Motion-by-Indent.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Motion-by-Indent.html</a>
  </p>
</div>