Function: internal-show-cursor
internal-show-cursor is a function defined in dispnew.c.
Signature
(internal-show-cursor WINDOW SHOW)
Documentation
Set the cursor-visibility flag of WINDOW to SHOW.
WINDOW nil means use the selected window. SHOW non-nil means show a cursor in WINDOW in the next redisplay. SHOW nil means don't show a cursor.
Source Code
// Defined in /usr/src/emacs/src/dispnew.c
{
/* Don't change cursor state while redisplaying. This could confuse
output routines. */
if (!redisplaying_p)
decode_any_window (window)->cursor_off_p = NILP (show);
return Qnil;
}