from xdisp.c, and make static, since these are used only here.
* window.h, xdisp.c (minibuf_prompt, minibuf_prompt_width):
Remove decls.
2011-03-06 Paul Eggert <eggert@cs.ucla.edu>
+ * 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.
+
* cmds.c (internal_self_insert): Reindent to match Emacs style.
* xdisp.c: Rename or move local decls to avoid shadowing.
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;
+
\f
/* Put minibuf on currently selected frame's minibuffer.
We do this whenever the user starts a new minibuffer
void set_window_buffer (Lisp_Object window, Lisp_Object buffer,
int run_hooks_p, int keep_margins_p);
-/* Prompt to display in front of the minibuffer contents. */
-
-extern Lisp_Object minibuf_prompt;
-
-/* The visual width of the above. */
-
-extern int minibuf_prompt_width;
-
/* This is the window where the echo area message was displayed. It
is always a minibuffer window, but it may not be the same window
currently active as a minibuffer. */
extern int window_box_text_cols (struct window *w);
#endif /* not WINDOW_H_INCLUDED */
-
static Lisp_Object default_invis_vector[3];
-/* Prompt to display in front of the mini-buffer contents. */
-
-Lisp_Object minibuf_prompt;
-
-/* Width of current mini-buffer prompt. Only set after display_line
- of the line that contains the prompt. */
-
-int minibuf_prompt_width;
-
/* This is the window where the echo area message was displayed. It
is always a mini-buffer window, but it may not be the same window
currently active as a mini-buffer. */