summaryrefslogtreecommitdiff
path: root/devdocs/elisp/predicates-on-markers.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/predicates-on-markers.html
new repository
Diffstat (limited to 'devdocs/elisp/predicates-on-markers.html')
-rw-r--r--devdocs/elisp/predicates-on-markers.html12
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 &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/Predicates-on-Markers.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Predicates-on-Markers.html</a>
+ </p>
+</div>