Vminibuf_scroll_window = selected_window;
Fset_window_buffer (minibuf_window, Fcurrent_buffer ());
Fselect_window (minibuf_window);
- XFASTINT (XWINDOW (minibuf_window)->hscroll) = 0;
+ XSETFASTINT (XWINDOW (minibuf_window)->hscroll, 0);
Ferase_buffer ();
minibuf_level++;
char name[24];
extern Lisp_Object nconc2 ();
- XFASTINT (num) = depth;
+ XSETFASTINT (num, depth);
tail = Fnthcdr (num, Vminibuffer_list);
if (NILP (tail))
{
minibuf_level--;
/* Make sure minibuffer window is erased, not ignored */
windows_or_buffers_changed++;
- XFASTINT (XWINDOW (minibuf_window)->last_modified) = 0;
+ XSETFASTINT (XWINDOW (minibuf_window)->last_modified, 0);
/* Restore prompt, etc from outer minibuffer */
minibuf_prompt = Fcar (minibuf_save_list);
if (NILP (histvar))
histvar = Qminibuffer_history;
if (NILP (histpos))
- XFASTINT (histpos) = 0;
+ XSETFASTINT (histpos, 0);
return read_minibuf (keymap, initial_contents, prompt,
make_number (pos), !NILP (read), histvar, histpos);
if (XSYMBOL (bucket)->next)
XSETSYMBOL (bucket, XSYMBOL (bucket)->next);
else
- XFASTINT (bucket) = 0;
+ XSETFASTINT (bucket, 0);
}
else if (++index >= obsize)
break;
/* Yes. */
Lisp_Object regexps;
Lisp_Object zero;
- XFASTINT (zero) = 0;
+ XSETFASTINT (zero, 0);
/* Ignore this element if it fails to match all the regexps. */
for (regexps = Vcompletion_regexp_list; CONSP (regexps);
bestmatchsize))
return Qt;
- XFASTINT (zero) = 0; /* Else extract the part in which */
- XFASTINT (end) = bestmatchsize; /* all completions agree */
+ XSETFASTINT (zero, 0); /* Else extract the part in which */
+ XSETFASTINT (end, bestmatchsize); /* all completions agree */
return Fsubstring (bestmatch, zero, end);
}
if (XSYMBOL (bucket)->next)
XSETSYMBOL (bucket, XSYMBOL (bucket)->next);
else
- XFASTINT (bucket) = 0;
+ XSETFASTINT (bucket, 0);
}
else if (++index >= obsize)
break;
/* Yes. */
Lisp_Object regexps;
Lisp_Object zero;
- XFASTINT (zero) = 0;
+ XSETFASTINT (zero, 0);
/* Ignore this element if it fails to match all the regexps. */
for (regexps = Vcompletion_regexp_list; CONSP (regexps);
if (NILP (histvar))
histvar = Qminibuffer_history;
if (NILP (histpos))
- XFASTINT (histpos) = 0;
+ XSETFASTINT (histpos, 0);
val = read_minibuf (NILP (require_match)
? Vminibuffer_local_completion_map
()
{
Lisp_Object width;
- XFASTINT (width) = minibuf_prompt_width;
+ XSETFASTINT (width, minibuf_prompt_width);
return width;
}
\f
Each minibuffer output is added with\n\
(set minibuffer-history-variable\n\
(cons STRING (symbol-value minibuffer-history-variable)))");
- XFASTINT (Vminibuffer_history_variable) = 0;
+ XSETFASTINT (Vminibuffer_history_variable, 0);
DEFVAR_LISP ("minibuffer-history-position", &Vminibuffer_history_position,
"Current position of redoing in the history list.");