unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
* Patch for cl-extra.el (21.1 RC)
@ 2003-05-15 19:11 Eduardo Muñoz
  0 siblings, 0 replies; only message in thread
From: Eduardo Muñoz @ 2003-05-15 19:11 UTC (permalink / raw)




FWIW, I think that there is a bug in the function
cl-make-hash-table. This only applies to emacs_21_1_rc
because that function has disappeared in emacs_head.
Patch follows:

--- cl-extra.el.~1.21.~	2000-10-15 06:49:20.000000000 +0200
+++ cl-extra.el	2003-05-15 20:59:56.000000000 +0200
@@ -637,7 +637,7 @@
 The Common Lisp keywords :rehash-size and :rehash-threshold are ignored."
   (let ((cl-test (or (car (cdr (memq :test cl-keys))) 'eql))
 	(cl-size (or (car (cdr (memq :size cl-keys))) 20)))
-    (make-hash-table :size cl-size :test cl-size)))
+    (make-hash-table :size cl-size :test cl-test)))
 
 (defun cl-hash-table-p (x)
   "Return t if OBJECT is a hash table."



-- 
Eduardo Muñoz          | (prog () 10 (print "Hello world!")
http://213.97.131.125/ |          20 (go 10))

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2003-05-15 19:11 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-15 19:11 Patch for cl-extra.el (21.1 RC) Eduardo Muñoz

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).