aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGerd Moellmann2000-08-18 04:55:28 +0000
committerGerd Moellmann2000-08-18 04:55:28 +0000
commit01cce3e757e2ea4746322395986837ed3025bfd8 (patch)
tree9044a826513bc21dbb00de7df5da4987e38d78db /src
parent385ff9e36d09f52aa38432bb471b215d0fda063b (diff)
downloademacs-01cce3e757e2ea4746322395986837ed3025bfd8.tar.gz
emacs-01cce3e757e2ea4746322395986837ed3025bfd8.zip
(do_completion): Use EQ instead of != to compare
Lisp_Objects.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog3
-rw-r--r--src/minibuf.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index e144ece519d..cd5adc93365 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,8 @@
12000-08-18 Gerd Moellmann <gerd@gnu.org> 12000-08-18 Gerd Moellmann <gerd@gnu.org>
2 2
3 * minibuf.c (do_completion): Use EQ instead of != to compare
4 Lisp_Objects.
5
3 * keyboard.c (kbd_buffer_get_event): Handle the case that the 6 * keyboard.c (kbd_buffer_get_event): Handle the case that the
4 second half of a HELP_EVENT is found at the start of kbd_buffer. 7 second half of a HELP_EVENT is found at the start of kbd_buffer.
5 8
diff --git a/src/minibuf.c b/src/minibuf.c
index 678a750adb7..e730f8a91ca 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -1608,7 +1608,7 @@ do_completion ()
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))