[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch for cl-extra.el (21.1 RC)
From: |
Eduardo Muñoz |
Subject: |
Patch for cl-extra.el (21.1 RC) |
Date: |
15 May 2003 21:11:21 +0200 |
User-agent: |
Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 |
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))
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Patch for cl-extra.el (21.1 RC),
Eduardo Muñoz <=