Mercurial > emacs
comparison 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 |
comparison
equal
deleted
inserted
replaced
30937:5f266cae21c8 | 30938:2abe96ba751c |
---|---|
1606 /* COMPLETEDP should be true if some completion was done, which | 1606 /* COMPLETEDP should be true if some completion was done, which |
1607 doesn't include simply changing the case of the entered string. | 1607 doesn't include simply changing the case of the entered string. |
1608 However, for appearance, the string is rewritten if the case | 1608 However, for appearance, the string is rewritten if the case |
1609 changes. */ | 1609 changes. */ |
1610 tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt); | 1610 tem = Fcompare_strings (completion, Qnil, Qnil, string, Qnil, Qnil, Qt); |
1611 completedp = (tem != Qt); | 1611 completedp = !EQ (tem, Qt); |
1612 | 1612 |
1613 tem = Fstring_equal (completion, string); | 1613 tem = Fstring_equal (completion, string); |
1614 if (NILP (tem)) | 1614 if (NILP (tem)) |
1615 /* Rewrite the user's input. */ | 1615 /* Rewrite the user's input. */ |
1616 { | 1616 { |