Mercurial > emacs
changeset 1520:8f4575a04825
* minibuf.c (read_minibuf): Use EQ to compare, not ==.
(temp_echo_area_glyphs): Use XFASTINT to assign to
unread_command_char.
author | Jim Blandy <jimb@redhat.com> |
---|---|
date | Sat, 31 Oct 1992 05:26:29 +0000 |
parents | 5d0837ebee9c |
children | 5d58b9e933ee |
files | src/minibuf.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/src/minibuf.c Sat Oct 31 05:26:04 1992 +0000 +++ b/src/minibuf.c Sat Oct 31 05:26:29 1992 +0000 @@ -211,7 +211,7 @@ /* Add the value to the appropriate history list. */ if (XTYPE (Vminibuffer_history_variable) == Lisp_Symbol - && XSYMBOL (Vminibuffer_history_variable)->value != Qunbound) + && ! EQ (XSYMBOL (Vminibuffer_history_variable)->value, Qunbound)) Fset (Vminibuffer_history_variable, Fcons (val, Fsymbol_value (Vminibuffer_history_variable))); @@ -899,7 +899,7 @@ if (!NILP (Vquit_flag)) { Vquit_flag = Qnil; - unread_command_char = Ctl ('g'); + XFASTINT (unread_command_char) = Ctl ('g'); } Vinhibit_quit = oinhibit; }