diff options
Diffstat (limited to 'devdocs/elisp/predicates-on-markers.html')
| -rw-r--r-- | devdocs/elisp/predicates-on-markers.html | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/devdocs/elisp/predicates-on-markers.html b/devdocs/elisp/predicates-on-markers.html new file mode 100644 index 00000000..c2e606a1 --- /dev/null +++ b/devdocs/elisp/predicates-on-markers.html @@ -0,0 +1,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> |
