diff src/minibuf.c @ 30938:2abe96ba751c

(do_completion): Use EQ instead of != to compare Lisp_Objects.
author Gerd Moellmann <gerd@gnu.org>
date Fri, 18 Aug 2000 04:55:09 +0000
parents 8488e2964306
children d5e13d726a9c
line wrap: on
line diff
--- a/src/minibuf.c	Fri Aug 18 03:48:49 2000 +0000
+++ b/src/minibuf.c	Fri Aug 18 04:55:09 2000 +0000
@@ -1608,7 +1608,7 @@
      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))