summaryrefslogtreecommitdiff
path: root/devdocs/elisp/minibuffer-contents.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/minibuffer-contents.html
new repository
Diffstat (limited to 'devdocs/elisp/minibuffer-contents.html')
-rw-r--r--devdocs/elisp/minibuffer-contents.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/devdocs/elisp/minibuffer-contents.html b/devdocs/elisp/minibuffer-contents.html
new file mode 100644
index 00000000..a305ca8c
--- /dev/null
+++ b/devdocs/elisp/minibuffer-contents.html
@@ -0,0 +1,18 @@
+ <h3 class="section">Minibuffer Contents</h3> <p>These functions access the minibuffer prompt and contents. </p> <dl> <dt id="minibuffer-prompt">Function: <strong>minibuffer-prompt</strong>
+</dt> <dd><p>This function returns the prompt string of the currently active minibuffer. If no minibuffer is active, it returns <code>nil</code>. </p></dd>
+</dl> <dl> <dt id="minibuffer-prompt-end">Function: <strong>minibuffer-prompt-end</strong>
+</dt> <dd><p>This function returns the current position of the end of the minibuffer prompt, if a minibuffer is current. Otherwise, it returns the minimum valid buffer position. </p></dd>
+</dl> <dl> <dt id="minibuffer-prompt-width">Function: <strong>minibuffer-prompt-width</strong>
+</dt> <dd><p>This function returns the current display-width of the minibuffer prompt, if a minibuffer is current. Otherwise, it returns zero. </p></dd>
+</dl> <dl> <dt id="minibuffer-contents">Function: <strong>minibuffer-contents</strong>
+</dt> <dd><p>This function returns the editable contents of the minibuffer (that is, everything except the prompt) as a string, if a minibuffer is current. Otherwise, it returns the entire contents of the current buffer. </p></dd>
+</dl> <dl> <dt id="minibuffer-contents-no-properties">Function: <strong>minibuffer-contents-no-properties</strong>
+</dt> <dd><p>This is like <code>minibuffer-contents</code>, except that it does not copy text properties, just the characters themselves. See <a href="text-properties">Text Properties</a>. </p></dd>
+</dl> <dl> <dt id="delete-minibuffer-contents">Command: <strong>delete-minibuffer-contents</strong>
+</dt> <dd><p>This command erases the editable contents of the minibuffer (that is, everything except the prompt), if a minibuffer is current. Otherwise, it erases the entire current buffer. </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/Minibuffer-Contents.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Minibuffer-Contents.html</a>
+ </p>
+</div>