]> git.eshelyaron.com Git - emacs.git/commitdiff
(cl-builtin-gethash, cl-builtin-remhash)
authorStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Oct 2000 04:49:20 +0000 (04:49 +0000)
committerStefan Monnier <monnier@iro.umontreal.ca>
Sun, 15 Oct 2000 04:49:20 +0000 (04:49 +0000)
(cl-builtin-clrhash, cl-builtin-maphash): Add for byte-compatibility.

lisp/emacs-lisp/cl-extra.el

index 83f0ff717d0458b219eb52a8bd9d57ff982e6c68..194f6c6d9b48cc59a7d792b953ec73fd58c3c96d 100644 (file)
@@ -668,6 +668,13 @@ The Common Lisp keywords :rehash-size and :rehash-threshold are ignored."
                         (t (assoc* key sym :test test))))
          sym str)))
 
+;; These variables are just kept for compatibility with code
+;; byte-compiled by Emacs-20.
+(defvar cl-builtin-gethash (symbol-function 'gethash))
+(defvar cl-builtin-remhash (symbol-function 'remhash))
+(defvar cl-builtin-clrhash (symbol-function 'clrhash))
+(defvar cl-builtin-maphash (symbol-function 'maphash))
+
 (defun cl-gethash (key table &optional def)
   "Look up KEY in HASH-TABLE; return corresponding value, or DEFAULT."
   (if (consp table)