blob: c2e606a135d800487472d26ddd9e3c48abe8d164 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
<h3 class="section">Predicates on Markers</h3> <p>You can test an object to see whether it is a marker, or whether it is either an integer or a marker. The latter test is useful in connection with the arithmetic functions that work with both markers and integers. </p> <dl> <dt id="markerp">Function: <strong>markerp</strong> <em>object</em>
</dt> <dd><p>This function returns <code>t</code> if <var>object</var> is a marker, <code>nil</code> otherwise. Note that integers are not markers, even though many functions will accept either a marker or an integer. </p></dd>
</dl> <dl> <dt id="integer-or-marker-p">Function: <strong>integer-or-marker-p</strong> <em>object</em>
</dt> <dd><p>This function returns <code>t</code> if <var>object</var> is an integer or a marker, <code>nil</code> otherwise. </p></dd>
</dl> <dl> <dt id="number-or-marker-p">Function: <strong>number-or-marker-p</strong> <em>object</em>
</dt> <dd><p>This function returns <code>t</code> if <var>object</var> is a number (either integer or floating point) or a marker, <code>nil</code> otherwise. </p></dd>
</dl><div class="_attribution">
<p class="_attribution-p">
Copyright © 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/Predicates-on-Markers.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Predicates-on-Markers.html</a>
</p>
</div>
|