diff options
author | Jim Blandy <jimb@redhat.com> | 1992-10-31 05:26:29 +0000 |
---|---|---|
committer | Jim Blandy <jimb@redhat.com> | 1992-10-31 05:26:29 +0000 |
commit | fe0a5721121a79057c6e259bc18d05e941453f04 (patch) | |
tree | 0e705e6efce1d047770e74feab238eda27391e44 /src/minibuf.c | |
parent | 3d9b22be4ceae0026e30e4ca9bc9e2b7719d1f15 (diff) | |
download | emacs-fe0a5721121a79057c6e259bc18d05e941453f04.tar.gz emacs-fe0a5721121a79057c6e259bc18d05e941453f04.tar.bz2 emacs-fe0a5721121a79057c6e259bc18d05e941453f04.zip |
* minibuf.c (read_minibuf): Use EQ to compare, not ==.
(temp_echo_area_glyphs): Use XFASTINT to assign to
unread_command_char.
Diffstat (limited to 'src/minibuf.c')
-rw-r--r-- | src/minibuf.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c index 0d9cac64697..378deebc900 100644 --- a/src/minibuf.c +++ b/src/minibuf.c @@ -211,7 +211,7 @@ read_minibuf (map, initial, prompt, backup_n, expflag, histvar, histpos) /* 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 @@ temp_echo_area_glyphs (m) if (!NILP (Vquit_flag)) { Vquit_flag = Qnil; - unread_command_char = Ctl ('g'); + XFASTINT (unread_command_char) = Ctl ('g'); } Vinhibit_quit = oinhibit; } |