a minibuffer is current. Otherwise, it erases the entire buffer.
@end defun
-@defun minubuffer-prompt-width
+@defun minibuffer-prompt-width
This function returns the current display-width of the minibuffer
prompt, if a minibuffer is current. Otherwise, it returns zero.
@end defun
mouse_last_y,
&mouse_area, 0);
/* A window will be selected only when it is not
- selected now. A minubuffer window will be selected
+ selected now. A minibuffer window will be selected
iff it is active. */
if (!EQ (mouse_window, last_mouse_window)
&& !EQ (mouse_window, selected_window)
window = window_from_coordinates (frame, mouse_x, mouse_y, &area, 0);
/* Window will be selected only when it is not selected now and
- last mouse movement event was not in it. Minubuffer window
+ last mouse movement event was not in it. Minibuffer window
will be selected iff it is active. */
if (!EQ (window, last_window)
&& !EQ (window, selected_window)
window = window_from_coordinates (frame, XINT (event->x), XINT (event->y), &area, 0);
/* Window will be selected only when it is not selected now and
- last mouse movement event was not in it. Minubuffer window
+ last mouse movement event was not in it. Minibuffer window
will be selected iff it is active. */
if (!EQ (window, last_window)
&& !EQ (window, selected_window)