# HG changeset patch # User Kim F. Storm # Date 1158795503 0 # Node ID 83e355d76736c991a66cf6d162bf22cac46b98ef # Parent b944195ced3499d100b37331f2fb6964fa4f5ee8 *** empty log message *** diff -r b944195ced34 -r 83e355d76736 etc/NEWS --- a/etc/NEWS Wed Sep 20 23:12:25 2006 +0000 +++ b/etc/NEWS Wed Sep 20 23:38:23 2006 +0000 @@ -3786,6 +3786,10 @@ *** The function `eql' is now available without requiring the CL package. +++ +*** The new function `memql' is like `memq', but uses `eql' for comparison, +that is, floats are compared by value and other elements with `eq'. + ++++ *** `makehash' is now obsolete. Use `make-hash-table' instead. +++ diff -r b944195ced34 -r 83e355d76736 lisp/ChangeLog --- a/lisp/ChangeLog Wed Sep 20 23:12:25 2006 +0000 +++ b/lisp/ChangeLog Wed Sep 20 23:38:23 2006 +0000 @@ -1,3 +1,11 @@ +2006-09-21 Kim F. Storm + + * emacs-lisp/cl-macs.el (member*): Use memql instead of complex code. + Suggested by Miles Bader. + + * emacs-lisp/cl.el (pushnew): Rework 2006-09-10 change. Use memql + instead of add-to-list in the simple case. + 2006-09-20 Vinicius Jose Latorre * delim-col.el : Fix X-URL comment. diff -r b944195ced34 -r 83e355d76736 lispref/ChangeLog --- a/lispref/ChangeLog Wed Sep 20 23:12:25 2006 +0000 +++ b/lispref/ChangeLog Wed Sep 20 23:38:23 2006 +0000 @@ -1,3 +1,7 @@ +2006-09-21 Kim F. Storm + + * lists.texi (Sets And Lists): Add memql. + 2006-09-20 Richard Stallman * windows.texi (Window Start): Minor cleanups. diff -r b944195ced34 -r 83e355d76736 src/ChangeLog --- a/src/ChangeLog Wed Sep 20 23:12:25 2006 +0000 +++ b/src/ChangeLog Wed Sep 20 23:38:23 2006 +0000 @@ -1,3 +1,9 @@ +2006-09-21 Kim F. Storm + + * fns.c (Fmemq): Refill doc string. + (Fmemql): New defun, like memq but using eql. + (syms_of_fns): Defsubr it. + 2006-09-20 Kim F. Storm * xdisp.c (pos_visible_p): CHARPOS < 0 means return info for