Commit 01cce3e7 authored by Gerd Moellmann's avatar Gerd Moellmann
Browse files

(do_completion): Use EQ instead of != to compare

parent 385ff9e3
2000-08-18 Gerd Moellmann <>
* minibuf.c (do_completion): Use EQ instead of != to compare
* keyboard.c (kbd_buffer_get_event): Handle the case that the
second half of a HELP_EVENT is found at the start of kbd_buffer.
......@@ -1608,7 +1608,7 @@ do_completion ()
However, for appearance, the string is rewritten if the case
changes. */
tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt);
completedp = (tem != Qt);
completedp = !EQ (tem, Qt);
tem = Fstring_equal (completion, string);
if (NILP (tem))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment