]> code.delx.au - gnu-emacs/commitdiff
*** empty log message ***
authorGerd Moellmann <gerd@gnu.org>
Thu, 27 Jul 2000 13:28:26 +0000 (13:28 +0000)
committerGerd Moellmann <gerd@gnu.org>
Thu, 27 Jul 2000 13:28:26 +0000 (13:28 +0000)
etc/NEWS
lisp/ChangeLog
lispref/variables.texi
src/ChangeLog

index 9460e17831dc7bd50e495c8bff45335925b17225..2fc9422d4a6829cd7828f32510aa4254fa8352b4 100644 (file)
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -1322,6 +1322,9 @@ functionality with aliases for the mldrag functions.
 * Lisp changes made after edition 2.6 of the Emacs Lisp Manual,
 (Display-related features are described in a page of their own below.)
 
+** The meaning of the `:weakness WEAK' argument of make-hash-table
+has been changed.
+
 ** Function `aset' stores any multibyte character in any string
 without signaling "Attempt to change char length of a string".  It may
 convert a unibyte string to multibyte if necessary.
@@ -1836,10 +1839,11 @@ hash table.  It is resized when the ratio of (number of entries) /
 
 :weakness WEAK
 
-WEAK must be either nil, one of the symbols `key, `value', or t.
-Entries are removed from weak tables during garbage collection if
-their key and/or value are not referenced elsewhere outside of the
-hash table.  Default are non-weak hash tables.
+WEAK must be either nil, one of the symbols `key, `value',
+`key-or-value', `key-and-value', or t, meaning the same as
+`key-and-value'.  Entries are removed from weak tables during garbage
+collection if their key and/or value are not referenced elsewhere
+outside of the hash table.  Default are non-weak hash tables.
 
 - Function: makehash &optional TEST
 
index b5064d629820039708cc8cc9d0f5e0f5be1cadca..99aec87f6004ccfb867567375020a0e5bfb206b9 100644 (file)
@@ -1,3 +1,7 @@
+2000-07-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * play/meese.el: Add Commentary section.
+
 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
 
        * international/mule.el (register-char-codings): New function.
@@ -55,6 +59,7 @@
        interpretation of the return value of compare-strings.
 
 2000-07-26  Gerd Moellmann  <gerd@gnu.org>
+>>>>>>> 1.883
 
        * isearch.el (isearch-resume): New function.
        (isearch-done): Add something to command-history to resume
index 222206561ee4a1f2a6b284ba43bd6811c5fc461f..37528cc69af35ce7066500d4823dd7856dc680db 100644 (file)
@@ -659,7 +659,7 @@ variable.  Here's a safe way to avoid that:
   @var{docstring})
 (unless my-mode-map
   (let ((map (make-sparse-keymap)))
-    (define-key my-mode-map "\C-c\C-a" 'my-command)
+    (define-key map "\C-c\C-a" 'my-command)
     @dots{}
     (setq my-mode-map map)))
 @end example
index c0ae4d774cf50fe07f72842e040bdac89cad3fdb..ecfe6bee27a862e6b7d1b22a3d8b415858ae6da0 100644 (file)
@@ -1,3 +1,12 @@
+2000-07-27  Gerd Moellmann  <gerd@gnu.org>
+
+       * fns.c (Qkey_or_value, Qkey_and_value): New variables.
+       (syms_of_fns): Initialize new variables.
+       (sweep_weak_table): Handle weakness `key-or-value' and
+       `key-and-value'.
+       (Fmake_hash_table): Recognize `key-and-value' and `key-or-value'
+       weakness, with t meaning the same as `key-and-value'.
+
 2000-07-27  Kenichi Handa  <handa@etl.go.jp>
 
        * coding.h (struct coding_system): Member safe_charset deleted.