changeset 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 5f266cae21c8
children 7ea1183f9626
files src/minibuf.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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))