]> git.eshelyaron.com Git - emacs.git/commitdiff
(do_completion): Use EQ instead of != to compare
authorGerd Moellmann <gerd@gnu.org>
Fri, 18 Aug 2000 04:55:28 +0000 (04:55 +0000)
committerGerd Moellmann <gerd@gnu.org>
Fri, 18 Aug 2000 04:55:28 +0000 (04:55 +0000)
Lisp_Objects.

src/ChangeLog
src/minibuf.c

index e144ece519d87a05d5fdfbcb8e374084fe0537e6..cd5adc933653727066365806aa7fc53ec5f4ed31 100644 (file)
@@ -1,5 +1,8 @@
 2000-08-18  Gerd Moellmann  <gerd@gnu.org>
 
+       * minibuf.c (do_completion): Use EQ instead of != to compare
+       Lisp_Objects.
+
        * 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.
 
index 678a750adb7a3e944e837db5d2d7361f9ab2f065..e730f8a91ca8c9ff06afc96cafc655602ca0be56 100644 (file)
@@ -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))