]> code.delx.au - gnu-emacs/commitdiff
* fns.c: #include keyboard.h.
authorJim Blandy <jimb@redhat.com>
Sat, 31 Oct 1992 05:20:23 +0000 (05:20 +0000)
committerJim Blandy <jimb@redhat.com>
Sat, 31 Oct 1992 05:20:23 +0000 (05:20 +0000)
(Fdelete): Check if Fequal returns Qnil, not zero.

src/fns.c

index 0bcf414179b41ab58e86e9087bc8922a8b8f01d9..6eb97d4683ab749b612e001f0396e96efde1d07d 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -29,6 +29,7 @@ the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
 #include "commands.h"
 
 #include "buffer.h"
+#include "keyboard.h"
 
 Lisp_Object Qstring_lessp;
 
@@ -620,7 +621,7 @@ to be sure of changing the value of `foo'.")
   while (!NILP (tail))
     {
       tem = Fcar (tail);
-      if (Fequal (elt, tem))
+      if (! NILP (Fequal (elt, tem)))
        {
          if (NILP (prev))
            list = Fcdr (tail);