summaryrefslogtreecommitdiff
path: root/src/minibuf.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-03-06 01:52:06 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2011-03-06 01:52:06 -0800
commite9588e2e96025e416921e24d08fc4822d2ce3c6b (patch)
treec483cf3bba94cc37c36a07cdfc740feba9a4356e /src/minibuf.c
parent1e12733b25bfa52650157c34fc30a9c7fe1d5b4c (diff)
downloademacs-e9588e2e96025e416921e24d08fc4822d2ce3c6b.tar.gz
* minibuf.c (minibuf_prompt, minibuf_prompt_width): Move here
from xdisp.c, and make static, since these are used only here. * window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width): Remove decls.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r--src/minibuf.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 4b709bd9cbd..a56ed679a51 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -82,6 +82,15 @@ Lisp_Object Qcase_fold_search;
Lisp_Object Qread_expression_history;
+/* Prompt to display in front of the mini-buffer contents. */
+
+static Lisp_Object minibuf_prompt;
+
+/* Width of current mini-buffer prompt. Only set after display_line
+ of the line that contains the prompt. */
+
+static int minibuf_prompt_width;
+
/* Put minibuf on currently selected frame's minibuffer.
We do this whenever the user starts a new minibuffer